adonis-kue
adonis-kue copied to clipboard
How to access Job object
Hi,
In kue, you can do:
kue.Job.get(11, function(err, job){
console.log(job.type)
})
But when you are using adonis-kue provider the Job object is not exported so you have to require kue directly in order to get it. I think it would be a good idea to export it too in the provider to avoid to require kue directly.