diff --git a/src/app/providers/api-service.ts b/src/app/providers/api-service.ts index 59b9e61..b0ec487 100644 --- a/src/app/providers/api-service.ts +++ b/src/app/providers/api-service.ts @@ -42,9 +42,10 @@ export class ApiService { } public checkDatabaseConnection() { + const key = this.sessionKey; return this.http.post( - this.apiUrl, - null + this.apiUrl + '/test-connection', + { session_key: key } ); }