mirror of
https://github.com/cpvalente/ontime.git
synced 2026-07-26 10:38:55 +00:00
fix logo upload (#1666)
This commit is contained in:
committed by
GitHub
parent
063ae69409
commit
c603f29197
@@ -8,7 +8,7 @@ export const projectSanitiser = [
|
||||
body('backstageUrl').optional().isString().trim(),
|
||||
body('backstageInfo').optional().isString().trim(),
|
||||
body('endMessage').optional().isString().trim(),
|
||||
body('projectLogo').optional({ nullable: true }).isString().trim().isBase64(),
|
||||
body('projectLogo').optional({ nullable: true }).isString().trim(), //this is not the logo itself but then name of the logo
|
||||
body('custom').optional().isArray(),
|
||||
body('custom.*.title').optional().isString().trim().notEmpty(),
|
||||
body('custom.*.value').optional().isString().trim().notEmpty(),
|
||||
|
||||
Reference in New Issue
Block a user