mirror of https://github.com/Chocobozzz/PeerTube
Include err type in res
parent
17ecdf61ce
commit
8762b1c7ff
|
@ -76,6 +76,7 @@ export const updateRunnerJobValidator = [
|
||||||
|
|
||||||
return res.fail({
|
return res.fail({
|
||||||
status: HttpStatusCode.BAD_REQUEST_400,
|
status: HttpStatusCode.BAD_REQUEST_400,
|
||||||
|
type: ServerErrorCode.RUNNER_JOB_NOT_IN_PROCESSING_STATE,
|
||||||
message: 'Session of this live ended',
|
message: 'Session of this live ended',
|
||||||
tags
|
tags
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue