Merge branch 'ben/fix/error-messages' into ben/feature/push-notifications

This commit is contained in:
Ben Goldsworthy 2020-11-28 19:37:00 +00:00
commit bff385be74
3 changed files with 20 additions and 2 deletions

View file

@ -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',