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