Skip to content

Commit

Permalink
feat(update): minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mgcrea committed Aug 28, 2023
1 parent f16bc58 commit e09fdd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PrismaQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export class PrismaQueue<
finishedAt: isFinished ? date : null,
failedAt: date,
error: serializeError(err),
notBefore,
notBefore: isFinished ? null : notBefore,
});
this.emit("job:error", job);
if (deleteOn === "failure" || deleteOn === "always") {
Expand Down

0 comments on commit e09fdd6

Please sign in to comment.