From d9e561cefac34bc2d96db04fa52dbdac417c9b31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eudes=20In=C3=A1cio?= Date: Wed, 11 Oct 2023 12:24:59 +0100 Subject: [PATCH] get token for web --- src/app/services/notifications.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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')) {