Skip to content

Commit 52fdfb1

Browse files
committed
Add missing await
1 parent e23f2c4 commit 52fdfb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/actions/remote/session.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ export const magicLinkLogin = async (serverUrl: string, token: string): Promise<
482482
);
483483
if (!pingResult.error && pingResult.canReceiveNotifications) {
484484
const intl = getIntlShape(user.locale);
485-
canReceiveNotifications(serverUrlToUse, pingResult.canReceiveNotifications as string, intl);
485+
await canReceiveNotifications(serverUrlToUse, pingResult.canReceiveNotifications as string, intl);
486486
}
487487
} catch (error) {
488488
return {error, failed: true};

0 commit comments

Comments
 (0)