From 3086eb45c549ecb7d8c7fd10012948dc1b1d1ffd Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 22 Jun 2020 14:58:19 -0400 Subject: [PATCH] enforce asynchronous callbacks in user object migration --- www/common/migrate-user-object.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/migrate-user-object.js b/www/common/migrate-user-object.js index 231c39ebd..b13aacb1c 100644 --- a/www/common/migrate-user-object.js +++ b/www/common/migrate-user-object.js @@ -499,7 +499,7 @@ define([ }, 500); progress(0, 0);*/ }).nThen(function () { - Realtime.whenRealtimeSyncs(store.realtime, Util.bake(cb)); + Realtime.whenRealtimeSyncs(store.realtime, Util.mkAsync(Util.bake(cb))); }); }; });