Skip to content

Commit

Permalink
Fixed retreival of job from Que application
Browse files Browse the repository at this point in the history
  • Loading branch information
ariestav committed Oct 16, 2019
1 parent 3ccc3d7 commit 539b6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NodeJS/deploy-output/api.js
Expand Up @@ -41,7 +41,7 @@ var queue = {

axios.get(queue.get_api_domain() + '/jobs/' + config.params.data.key, req)
.then(response => {
queue.job = response.data;
queue.job = response.data[0];
next(queue.job, complete);
})
.catch(error => {
Expand Down

0 comments on commit 539b6f0

Please sign in to comment.