mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-12 18:32:44 +00:00
fix: send response in queue retry
This commit is contained in:
@@ -51,6 +51,7 @@ router.post("/queue/:name/:repo_id", async (req, res) => {
|
||||
try {
|
||||
await job.remove();
|
||||
queue.add(job.name, job.data, job.opts);
|
||||
res.send("ok");
|
||||
} catch (error) {
|
||||
res.status(500).send("error_retrying_job");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user