diff options
author | Marco Nassabain <marco.nassabain@hotmail.com> | 2021-03-04 22:06:20 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 22:31:21 +0200 |
commit | 1a582f2a7a125d3d9c5c4c295132acb25d1ae03b (patch) | |
tree | 85003a5411d4f30070c8629c27c4eeada3cb2aab /lib/Controller | |
parent | d92d77c066725981a1c323d85d2015411c74a9fe (diff) |
🚑 Fix ItemController::share
- call correct ShareService function
- correct ShareService className annotation
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'lib/Controller')
-rw-r--r-- | lib/Controller/ItemController.php | 2 |
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 |