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 May 30, 2024
1 parent f9adc84 commit da0d21d
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 @@ -348,7 +348,7 @@ export class PrismaQueue<
where.AND = { OR: [{ notBefore: { lte: date } }, { notBefore: null }] };
}
return await this.model.count({
where: { queue: queueName, finishedAt: null, runAt: { lte: date } },
where,
});
}
}

0 comments on commit da0d21d

Please sign in to comment.