mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Add typeOneOf filter to list notifications
This commit is contained in:
parent
8f35e76928
commit
0bf17d869c
11 changed files with 200 additions and 98 deletions
|
@ -58,7 +58,7 @@ const getLogsValidator = [
|
|||
query('tagsOneOf')
|
||||
.optional()
|
||||
.customSanitizer(arrayify)
|
||||
.custom(isStringArray).withMessage('Should have a valid one of tags array'),
|
||||
.custom(isStringArray).withMessage('Should have a valid tags one of array'),
|
||||
query('endDate')
|
||||
.optional()
|
||||
.custom(isDateValid).withMessage('Should have an end date that conforms to ISO 8601'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue