From 504c934fc90641ab29ed4a0fda440cdd3eb8f4a6 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Fri, 29 Jul 2016 15:26:24 +0200 Subject: [PATCH] =?UTF-8?q?fix(JobExecutor#=5FexecCall):=20xo.api.call()?= =?UTF-8?q?=20=E2=86=92=20xo.callApiMethod()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/job-executor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/job-executor.js b/src/job-executor.js index 8434c5411..293b4e655 100644 --- a/src/job-executor.js +++ b/src/job-executor.js @@ -161,7 +161,7 @@ export default class JobExecutor { } promises.push( - this.xo.api.call(connection, job.method, assign({}, params)).then( + this.xo.callApiMethod(connection, job.method, assign({}, params)).then( value => { this._logger.notice(`Call ${job.method} (${runCallId}) is a success. (${job.id})`, { event: 'jobCall.end',