diff --git a/src/app/services/notifications.service.ts b/src/app/services/notifications.service.ts index e4098a413..1bd0e3806 100644 --- a/src/app/services/notifications.service.ts +++ b/src/app/services/notifications.service.ts @@ -86,10 +86,11 @@ export class NotificationsService { } }); } else { + this.getAndpostToken("") } } - private getAndpostToken(username) { + private getAndpostToken(username) { const geturl = environment.apiURL + 'notifications/token'; if (this.platform.is('mobile')) {