diff options
author | yemkareems <yemkareems@gmail.com> | 2024-07-04 13:42:37 +0530 |
---|---|---|
committer | yemkareems <yemkareems@gmail.com> | 2024-07-08 15:42:55 +0530 |
commit | ceedfb46162e53d39460d25b781ddc21c5a9313f (patch) | |
tree | 0e7e2446f6c9f59098297f60d21571c47d90b6ad /apps | |
parent | cfafbc84157a70557deca66e969b57912b66dc8f (diff) | |
download | nextcloud-server-ceedfb46162e53d39460d25b781ddc21c5a9313f.tar.gz nextcloud-server-ceedfb46162e53d39460d25b781ddc21c5a9313f.zip |
fix: removed default limit of 25. if null is given all users are fetched or if limit is given limit number of users are fetched
Signed-off-by: yemkareems <yemkareems@gmail.com>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/provisioning_api/lib/Controller/UsersController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index beb240681d0..66cce405335 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -278,7 +278,7 @@ class UsersController extends AUserData { * 200: Users details returned based on last logged in information */ public function getLastLoggedInUsers(string $search = '', - ?int $limit = 25, + ?int $limit = null, int $offset = 0, ): DataResponse { $currentUser = $this->userSession->getUser(); |