From 1e5f5547e940e1e3d46ca64e73a34c5c4d921a43 Mon Sep 17 00:00:00 2001 From: mitch prewitt Date: Wed, 11 Sep 2024 09:38:38 -0400 Subject: [PATCH] fix build --- src/authorization/authorization.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/authorization/authorization.ts b/src/authorization/authorization.ts index 53ab1573..3fd16897 100644 --- a/src/authorization/authorization.ts +++ b/src/authorization/authorization.ts @@ -506,6 +506,7 @@ export function initialize( const result = await tryMergeUser(userId, false, merge); if (result) { initializeUserIdAndSync(userId, merge); + return Promise.resolve(); } } catch (error) { // here we will not sync events but just bubble up error of merge