diff --git a/packages/xo-server/src/remote-handlers/abstract.js b/packages/xo-server/src/remote-handlers/abstract.js index d818e1321..83ec43ba2 100644 --- a/packages/xo-server/src/remote-handlers/abstract.js +++ b/packages/xo-server/src/remote-handlers/abstract.js @@ -33,11 +33,11 @@ export default class RemoteHandlerAbstract { /** * Asks the handler to sync the state of the effective remote with its' metadata */ - async sync (): Promise { - await this._sync() + async sync (): Promise { + return this._sync() } - async _sync (): Promise { + async _sync (): Promise { throw new Error('Not implemented') }