Fixed registration age submission

This commit is contained in:
piratefinn 2017-06-15 16:17:33 +01:00
parent 7620b1429a
commit 014722c694
3 changed files with 14 additions and 20 deletions

View file

@ -34,12 +34,6 @@ export class ApiService {
localStorage.removeItem('sessionKey');
}
public getAgeRanges() {
return this.http.get(
this.apiUrl + '/info/ages'
).map( res => res.json() );
}
public register(data) {
return this.http.post(
this.apiUrl + '/register',