summaryrefslogtreecommitdiffstats
path: root/lib/Controller/ItemController.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/ItemController.php')
-rw-r--r--lib/Controller/ItemController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/ItemController.php b/lib/Controller/ItemController.php
index e3ef4b9e5..ec56a9e33 100644
--- a/lib/Controller/ItemController.php
+++ b/lib/Controller/ItemController.php
@@ -336,7 +336,7 @@ class ItemController extends Controller
public function share($itemId, $shareWithId)
{
try {
- $this->shareService->share(
+ $this->shareService->shareItemWithUser(
$this->getUserId(),
$itemId,
$shareWithId