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

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/ShareApiController.php')
-rw-r--r--lib/Controller/ShareApiController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/ShareApiController.php b/lib/Controller/ShareApiController.php
index 57c65033..5ffe1a63 100644
--- a/lib/Controller/ShareApiController.php
+++ b/lib/Controller/ShareApiController.php
@@ -76,7 +76,7 @@ class ShareApiController extends ApiController {
*/
public function list($pollId) {
try {
- return new DataResponse(['shares' => $this->shareService->list($pollId)], Http::STATUS_OK);
+ return new DataResponse(['shares' => $this->shareService->list($pollId, '')], Http::STATUS_OK);
} catch (DoesNotExistException $e) {
return new DataResponse(['error' => 'No shares for poll with id ' . $pollId . ' not found'], Http::STATUS_NOT_FOUND);
} catch (NotAuthorizedException $e) {