diff --git a/src/onesignal/OneSignal.ts b/src/onesignal/OneSignal.ts index 1cd3eab9b..00ce1af29 100644 --- a/src/onesignal/OneSignal.ts +++ b/src/onesignal/OneSignal.ts @@ -126,7 +126,7 @@ export default class OneSignal { ); } - LoginManager.login(externalId, jwtToken); + await LoginManager.login(externalId, jwtToken); } static async logout(): Promise {