Skip to content

Commit 600615b

Browse files
committed
fix: support null|string for flushQueue
1 parent ed9dc5b commit 600615b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Models/Queue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ export class Queue {
369369
* If jobName is supplied, only jobs associated with that name
370370
* will be deleted. Otherwise all jobs in queue will be deleted.
371371
*
372-
* @param jobName {string} - Name associated with job (and related job worker).
372+
* @param jobName {string|null} - Name associated with job (and related job worker).
373373
*/
374374
flushQueue(jobName = null) {
375375
if (jobName) {

0 commit comments

Comments
 (0)