Fixed registration age submission
This commit is contained in:
parent
7620b1429a
commit
014722c694
3 changed files with 14 additions and 20 deletions
|
@ -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',
|
||||
|
|
Reference in a new issue