aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/users
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/users')
-rw-r--r--shared/extra-utils/users/users.ts13
1 files changed, 11 insertions, 2 deletions
diff --git a/shared/extra-utils/users/users.ts b/shared/extra-utils/users/users.ts
index 08b7743a6..9f193680d 100644
--- a/shared/extra-utils/users/users.ts
+++ b/shared/extra-utils/users/users.ts
@@ -164,14 +164,23 @@ function getUsersList (url: string, accessToken: string) {
164 .expect('Content-Type', /json/) 164 .expect('Content-Type', /json/)
165} 165}
166 166
167function getUsersListPaginationAndSort (url: string, accessToken: string, start: number, count: number, sort: string, search?: string) { 167function getUsersListPaginationAndSort (
168 url: string,
169 accessToken: string,
170 start: number,
171 count: number,
172 sort: string,
173 search?: string,
174 blocked?: boolean
175) {
168 const path = '/api/v1/users' 176 const path = '/api/v1/users'
169 177
170 const query = { 178 const query = {
171 start, 179 start,
172 count, 180 count,
173 sort, 181 sort,
174 search 182 search,
183 blocked
175 } 184 }
176 185
177 return request(url) 186 return request(url)