diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-07-03 10:28:19 +0200 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-07-03 10:29:03 +0200 |
commit | ea7337cfdee00894792762660fa3c3412aeccccb (patch) | |
tree | 24f2b062b2d21753070e574a6e0fb4f3a531c439 /server/controllers/api | |
parent | 8491293b02ed2ec53eb0fa128161ea0b08d3def9 (diff) | |
download | PeerTube-ea7337cfdee00894792762660fa3c3412aeccccb.tar.gz PeerTube-ea7337cfdee00894792762660fa3c3412aeccccb.tar.zst PeerTube-ea7337cfdee00894792762660fa3c3412aeccccb.zip |
add check-params test for user list
fixes #2918
Diffstat (limited to 'server/controllers/api')
-rw-r--r-- | server/controllers/api/users/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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('/', | |||
86 | usersSortValidator, | 86 | usersSortValidator, |
87 | setDefaultSort, | 87 | setDefaultSort, |
88 | setDefaultPagination, | 88 | setDefaultPagination, |
89 | asyncMiddleware(usersListValidator), | 89 | usersListValidator, |
90 | asyncMiddleware(listUsers) | 90 | asyncMiddleware(listUsers) |
91 | ) | 91 | ) |
92 | 92 | ||