bull-arena
Advanced tools
Comparing version 3.30.0 to 3.30.1
@@ -62,3 +62,3 @@ { | ||
"repository": "https://github.com/bee-queue/arena.git", | ||
"version": "3.30.0" | ||
"version": "3.30.1" | ||
} |
@@ -300,2 +300,6 @@ # Arena | ||
### Official UIs | ||
- [Taskforce](https://taskforce.sh) for Bull and Bullmq | ||
### Contributing | ||
@@ -302,0 +306,0 @@ |
@@ -12,3 +12,7 @@ async function handler(req, res) { | ||
try { | ||
await queue.removeRepeatableByKey(job.opts.repeat.key); | ||
if (job.opts.repeat.key) { | ||
await queue.removeRepeatableByKey(job.opts.repeat.key); | ||
} else { | ||
await queue.removeRepeatable(job.name, job.opts.repeat); | ||
} | ||
return res.sendStatus(200); | ||
@@ -15,0 +19,0 @@ } catch (e) { |
@@ -38,4 +38,3 @@ const _ = require('lodash'); | ||
job.showPromoteButton = !queue.IS_BEE && jobState === 'delayed'; | ||
job.showDeleteRepeatableButton = | ||
queue.IS_BULL && job.opts.repeat && job.opts.repeat.key; | ||
job.showDeleteRepeatableButton = queue.IS_BULL && job.opts.repeat; | ||
const stacktraces = queue.IS_BEE ? job.options.stacktraces : job.stacktrace; | ||
@@ -42,0 +41,0 @@ |
@@ -133,4 +133,3 @@ const _ = require('lodash'); | ||
job.showPromoteButton = !queue.IS_BEE && jobState === 'delayed'; | ||
job.showDeleteRepeatableButton = | ||
queue.IS_BULL && job.opts.repeat && job.opts.repeat.key; | ||
job.showDeleteRepeatableButton = queue.IS_BULL && job.opts.repeat; | ||
job.parent = JobHelpers.getKeyProperties(job.parentKey); | ||
@@ -137,0 +136,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2138571
5937
313