mirror of
https://github.com/cpvalente/ontime.git
synced 2026-07-26 10:38:55 +00:00
refactor: mutations on batch elements must have IDs
This commit is contained in:
committed by
Carlos Valente
parent
e2e755b1d2
commit
7bed3757f2
@@ -68,7 +68,7 @@ export const paramsMustHaveEventId = [
|
||||
];
|
||||
|
||||
export const rundownArrayOfIds = [
|
||||
body('ids').isArray().exists(),
|
||||
body('ids').isArray().notEmpty(),
|
||||
body('ids.*').isString(),
|
||||
|
||||
(req: Request, res: Response, next: NextFunction) => {
|
||||
|
||||
Reference in New Issue
Block a user