Skip to content

Commit

Permalink
Fixed: error when loading subscriptions without user signed in (#2375)
Browse files Browse the repository at this point in the history
  • Loading branch information
malincrist committed Jan 25, 2024
1 parent 8abd865 commit 590ba34
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ export class Subscriptions {

private async loadUser(): Promise<void> {
this.userId = await this.usersService.ensureSignedIn();
if(!this.userId){
return;
}

await this.loadSubscriptions();
}

Expand Down

0 comments on commit 590ba34

Please sign in to comment.