From 1b8d1e33ac2251272a721c3db8ab229a339986d0 Mon Sep 17 00:00:00 2001 From: Sandro Date: Sun, 3 Sep 2023 21:28:58 +0200 Subject: [PATCH] feat push --- src/app/app.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index d3aa5599..c73185dc 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -127,8 +127,7 @@ export class AppComponent implements OnInit { serverPublicKey: 'BFSCppXa1OPCktrYhZN3GfX5gKI00al-eNykBwk3rmHRwjfrGeo3JXaTPP_0EGQ01Ik_Ubc2dzvvFQmOc3GvXsY' }); - this.profileService - .addPushSubscriber(pushSubscription, this.deviceId, this.deviceInfo); + await this.profileService.addPushSubscriber(pushSubscription, this.deviceId, this.deviceInfo); };