aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authoryemkareems <yemkareems@gmail.com>2024-07-04 13:42:37 +0530
committeryemkareems <yemkareems@gmail.com>2024-07-08 15:42:55 +0530
commitceedfb46162e53d39460d25b781ddc21c5a9313f (patch)
tree0e7e2446f6c9f59098297f60d21571c47d90b6ad /apps
parentcfafbc84157a70557deca66e969b57912b66dc8f (diff)
downloadnextcloud-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.php2
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();