From ea7337cfdee00894792762660fa3c3412aeccccb Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Fri, 3 Jul 2020 10:28:19 +0200 Subject: add check-params test for user list fixes #2918 --- server/controllers/api/users/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/controllers/api') diff --git a/server/controllers/api/users/index.ts b/server/controllers/api/users/index.ts index 839431afb..fcd828ae3 100644 --- a/server/controllers/api/users/index.ts +++ b/server/controllers/api/users/index.ts @@ -86,7 +86,7 @@ usersRouter.get('/', usersSortValidator, setDefaultSort, setDefaultPagination, - asyncMiddleware(usersListValidator), + usersListValidator, asyncMiddleware(listUsers) ) -- cgit v1.2.3