We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6714271 + b41ff6b commit 9490719Copy full SHA for 9490719
src/controller/user.controller/index.js
@@ -14,8 +14,9 @@ router.get('/registry/users',
14
mw.useRegistry(),
15
mw.validateUser,
16
mw.onlySecretariat,
17
+ query().custom((query) => { return mw.validateQueryParameterNames(query, ['page']) }),
18
query(['page']).optional().isInt({ min: CONSTANTS.PAGINATOR_PAGE }),
- query(['page', 'registry']).custom((val) => { return mw.containsNoInvalidCharacters(val) }),
19
+ query(['page']).custom((val) => { return mw.containsNoInvalidCharacters(val) }),
20
parseError,
21
parseGetParams,
22
controller.ALL_USERS
0 commit comments