Skip to content

Commit

Permalink
refactor(push-notifications): add return statement on update provider (
Browse files Browse the repository at this point in the history
  • Loading branch information
kkopanidis authored Dec 19, 2023
1 parent 6ce4173 commit 75a6b7a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export class FirebaseProvider extends BaseNotificationProvider<IFirebaseSettings
try {
this.fcm = firebase.app(serviceAccount.projectId).messaging();
this._initialized = true;
return;
} catch (e) {
this._initialized = false;
ConduitGrpcSdk.Logger.error('Failed to initialize Firebase: method 1');
Expand Down

0 comments on commit 75a6b7a

Please sign in to comment.