mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
get token for web
This commit is contained in:
@@ -86,10 +86,11 @@ export class NotificationsService {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
this.getAndpostToken("")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private getAndpostToken(username) {
|
private getAndpostToken(username) {
|
||||||
const geturl = environment.apiURL + 'notifications/token';
|
const geturl = environment.apiURL + 'notifications/token';
|
||||||
|
|
||||||
if (this.platform.is('mobile')) {
|
if (this.platform.is('mobile')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user