s-r-x / bull-monitor

🐂 Standard UI for Bull and BullMQ.
https://s-r-x.github.io/bull-monitor/
MIT License
123 stars 38 forks source link

BullMQ update job data fails #80

Open rkleijn opened 1 year ago

rkleijn commented 1 year ago

Hello. I am using bull monitor (express) in combination with bullmq. This all works great except for updating job data of a failed job the following error is thrown in the console:

main.js:407 Error: this._job.update is not a function: {"response":{"errors":[{"message":"this._job.update is not a function","locations":[{"line":3,"column":9}],"path":["updateJobData"],"extensions":{"code":"INTERNAL_SERVER_ERROR"}}],"data":{"updateJobData":null},"status":200},"request":{"query":"\n mutation UpdateJobData($queue: ID!, $id: ID!, $data: JSON) {\n updateJobData(queue: $queue, id: $id, data: $data) {\n id\n }\n }\n ","variables":{"queue":"e0RFVl9oY31ERVZfaGM=","id":"fc98837d-24f5-4a4d-aaed-99ac548bc3c5","data":

Any pointers on what could cause this?

Thank you. ps: Using version 5.4.0