Merge pull request #2330 from Bilb/fix-attachments-download-job

fix: attachments download job trying to send function over ipc
pull/2334/head
Audric Ackermann 3 years ago committed by GitHub
commit 1ba748d5ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -75,7 +75,7 @@ export async function addJob(attachment: any, job: any = {}) {
const toSave = {
...job,
id,
attachment,
attachment: omit(attachment, ['toJSON']), // when addJob is called from the receiver we get an object with a toJSON call we don't care
timestamp,
pending: 0,
attempts: 0,

Loading…
Cancel
Save