We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8161f39 commit 5247750Copy full SHA for 5247750
packages/ace-http/src/index.js
@@ -152,7 +152,7 @@ function newJob(jobdata) {
152
ace(jobdata.internal.epubPath, {'jobid': jobdata.internal.id, 'outdir': jobdata.internal.outputDir})
153
.then((jobData) => {
154
var jobId = jobData[0];
155
- var idx = joblist.findIndex(job => job.internal.id === jobid);
+ var idx = joblist.findIndex(job => job.internal.id === jobId);
156
winston.info("[ace-http] Job finished " + joblist[idx].internal.id);
157
joblist[idx].public.status = JOBSTATUS.done;
158
joblist[idx].public.report.zip = joblist[idx].public.job + "/report/?type=zip";
0 commit comments