summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/api/sharees.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2015-09-15 12:14:14 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2015-09-15 12:14:14 +0200
commit665716095b719a9804f9104c42ce72254d3125ff (patch)
tree35a5fd7f5799f702660a60c7c84a46f8e19a4732 /apps/files_sharing/api/sharees.php
parent1d315512eaec830008f9d9a500342fadef9595c1 (diff)
downloadnextcloud-server-665716095b719a9804f9104c42ce72254d3125ff.tar.gz
nextcloud-server-665716095b719a9804f9104c42ce72254d3125ff.zip
Fix parameter name to match the specs
Diffstat (limited to 'apps/files_sharing/api/sharees.php')
-rw-r--r--apps/files_sharing/api/sharees.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/api/sharees.php b/apps/files_sharing/api/sharees.php
index d7eabb9a550..924a9dd1cd7 100644
--- a/apps/files_sharing/api/sharees.php
+++ b/apps/files_sharing/api/sharees.php
@@ -292,7 +292,7 @@ class Sharees {
$search = isset($_GET['search']) ? (string) $_GET['search'] : '';
$itemType = isset($_GET['itemType']) ? (string) $_GET['itemType'] : null;
$page = !empty($_GET['page']) ? max(1, (int) $_GET['page']) : 1;
- $perPage = !empty($_GET['limit']) ? max(1, (int) $_GET['limit']) : 200;
+ $perPage = !empty($_GET['perPage']) ? max(1, (int) $_GET['perPage']) : 200;
$shareTypes = [
Share::SHARE_TYPE_USER,
@@ -374,7 +374,7 @@ class Sharees {
'search' => $search,
'itemType' => $itemType,
'shareType' => $shareTypes,
- 'limit' => $perPage,
+ 'perPage' => $perPage,
]));
}