Merge branch 'ben/fix/error-messages' into ben/feature/push-notifications
This commit is contained in:
commit
bff385be74
3 changed files with 20 additions and 2 deletions
|
@ -41,6 +41,13 @@ export class ApiService {
|
|||
localStorage.removeItem('sessionKey');
|
||||
}
|
||||
|
||||
public checkDatabaseConnection() {
|
||||
return this.http.post<any>(
|
||||
this.apiUrl,
|
||||
null
|
||||
);
|
||||
}
|
||||
|
||||
public register(data) {
|
||||
return this.http.post<any>(
|
||||
this.apiUrl + '/register',
|
||||
|
|
Reference in a new issue