aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/users
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-07-03 10:28:19 +0200
committerRigel Kent <sendmemail@rigelk.eu>2020-07-03 10:29:03 +0200
commitea7337cfdee00894792762660fa3c3412aeccccb (patch)
tree24f2b062b2d21753070e574a6e0fb4f3a531c439 /server/controllers/api/users
parent8491293b02ed2ec53eb0fa128161ea0b08d3def9 (diff)
downloadPeerTube-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/users')
-rw-r--r--server/controllers/api/users/index.ts2
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