Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/circles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2022-08-30 19:17:44 +0300
committerMaxence Lange <maxence@artificial-owl.com>2022-09-12 13:46:51 +0300
commit811968676b2c9d371fb09b85d04948e3487fcf04 (patch)
tree58a786864120460f11d5a6128baa889d0c378a49
parent7bc0666b340bb504c0c05706048f067f99df1fa0 (diff)
fix limit/offset
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-rw-r--r--lib/Db/ShareWrapperRequest.php2
-rw-r--r--lib/Service/ShareWrapperService.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Db/ShareWrapperRequest.php b/lib/Db/ShareWrapperRequest.php
index 3ea791db..d305e550 100644
--- a/lib/Db/ShareWrapperRequest.php
+++ b/lib/Db/ShareWrapperRequest.php
@@ -329,8 +329,8 @@ class ShareWrapperRequest extends ShareWrapperRequestBuilder {
FederatedUser $federatedUser,
int $nodeId,
bool $reshares,
- int $offset,
int $limit,
+ int $offset,
bool $getData = false,
bool $completeDetails = false
): array {
diff --git a/lib/Service/ShareWrapperService.php b/lib/Service/ShareWrapperService.php
index df09aac0..94e29826 100644
--- a/lib/Service/ShareWrapperService.php
+++ b/lib/Service/ShareWrapperService.php
@@ -254,13 +254,13 @@ class ShareWrapperService {
FederatedUser $federatedUser,
int $nodeId,
bool $reshares,
- int $offset,
int $limit,
+ int $offset,
bool $getData = false,
bool $completeDetails = false
): array {
return $this->shareWrapperRequest->getSharesBy(
- $federatedUser, $nodeId, $reshares, $offset, $limit, $getData, $completeDetails
+ $federatedUser, $nodeId, $reshares, $limit, $offset, $getData, $completeDetails
);
}