aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-22 14:10:59 +0200
committerChocobozzz <me@florianbigard.com>2023-05-22 14:10:59 +0200
commit8762b1c7ffbb82e817bb07b381503997b5aca50d (patch)
tree5454d7fdd95e5217636e5acd9eb080cf3a7ba900
parent17ecdf61ce1d374cc8ba17601b93c9bda08112b2 (diff)
downloadPeerTube-8762b1c7ffbb82e817bb07b381503997b5aca50d.tar.gz
PeerTube-8762b1c7ffbb82e817bb07b381503997b5aca50d.tar.zst
PeerTube-8762b1c7ffbb82e817bb07b381503997b5aca50d.zip
Include err type in res
-rw-r--r--server/middlewares/validators/runners/jobs.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/middlewares/validators/runners/jobs.ts b/server/middlewares/validators/runners/jobs.ts
index 8174d4289..75cc0bdbb 100644
--- a/server/middlewares/validators/runners/jobs.ts
+++ b/server/middlewares/validators/runners/jobs.ts
@@ -76,6 +76,7 @@ export const updateRunnerJobValidator = [
76 76
77 return res.fail({ 77 return res.fail({
78 status: HttpStatusCode.BAD_REQUEST_400, 78 status: HttpStatusCode.BAD_REQUEST_400,
79 type: ServerErrorCode.RUNNER_JOB_NOT_IN_PROCESSING_STATE,
79 message: 'Session of this live ended', 80 message: 'Session of this live ended',
80 tags 81 tags
81 }) 82 })