🚀New lib version v1.0.0 [CI SKIP]
All checks were successful
continuous-integration/drone Build is passing
All checks were successful
continuous-integration/drone Build is passing
This commit is contained in:
8
dist/services/UserService.js
vendored
8
dist/services/UserService.js
vendored
@@ -6,13 +6,19 @@ class UserService {
|
||||
/**
|
||||
* Get all
|
||||
* Lists all users. <br> This includes their groups and permissions granted to them.
|
||||
* @param page
|
||||
* @param pageSize
|
||||
* @result ResponseUser
|
||||
* @throws ApiError
|
||||
*/
|
||||
static async userControllerGetAll() {
|
||||
static async userControllerGetAll(page, pageSize) {
|
||||
const result = await (0, request_1.request)({
|
||||
method: 'GET',
|
||||
path: `/api/users`,
|
||||
query: {
|
||||
'page': page,
|
||||
'page_size': pageSize,
|
||||
},
|
||||
});
|
||||
return result.body;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user