summaryrefslogtreecommitdiffstats
path: root/lib/Controller/ItemApiController.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Controller/ItemApiController.php')
-rw-r--r--lib/Controller/ItemApiController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/ItemApiController.php b/lib/Controller/ItemApiController.php
index cf6266006..9b8090ef7 100644
--- a/lib/Controller/ItemApiController.php
+++ b/lib/Controller/ItemApiController.php
@@ -231,7 +231,7 @@ class ItemApiController extends ApiController
private function setStarredByItemId(int $itemId, bool $isStarred)
{
try {
- $this->itemService->starByItemId($this->getUserId(), $itemId, $isStarred);
+ $this->itemService->star($this->getUserId(), $itemId, $isStarred);
} catch (ServiceNotFoundException $ex) {
return $this->error($ex, Http::STATUS_NOT_FOUND);
}