get token for web

This commit is contained in:
Eudes Inácio
2023-10-11 12:24:59 +01:00
parent 3007cf6897
commit d9e561cefa
+2 -1
View File
@@ -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')) {