diff --git a/packages/core/api/sync/index.js b/packages/core/api/sync/index.js index 4eaa11d71..424151e7a 100644 --- a/packages/core/api/sync/index.js +++ b/packages/core/api/sync/index.js @@ -399,7 +399,7 @@ class Sync { await this.connection.stop(); } - await promiseTimeout(30000, () => this.connection.start()); + await promiseTimeout(30000, this.connection.start()); } } catch (e) { this.logger.warn(e.message);