From 8762b1c7ffbb82e817bb07b381503997b5aca50d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 22 May 2023 14:10:59 +0200 Subject: [PATCH] Include err type in res --- server/middlewares/validators/runners/jobs.ts | 1 + 1 file changed, 1 insertion(+) 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 = [ return res.fail({ status: HttpStatusCode.BAD_REQUEST_400, + type: ServerErrorCode.RUNNER_JOB_NOT_IN_PROCESSING_STATE, message: 'Session of this live ended', tags })