diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2020-11-03 20:38:17 +0100 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2020-11-03 21:23:04 +0100 |
commit | becb23641923d3ce2dcb478f8943ad4b267e2c28 (patch) | |
tree | 409ff4bf1afd80864d59ee387ceb30a5cb6c8b0e /lib/Controller/FeedApiController.php | |
parent | a1309cdcd6048fd2c8916d1eff60bfd2878f7581 (diff) |
fix delete api
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'lib/Controller/FeedApiController.php')
-rw-r--r-- | lib/Controller/FeedApiController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/FeedApiController.php b/lib/Controller/FeedApiController.php index 2c96bbc6e..400c1a4b2 100644 --- a/lib/Controller/FeedApiController.php +++ b/lib/Controller/FeedApiController.php @@ -146,7 +146,7 @@ class FeedApiController extends ApiController public function delete(int $feedId) { try { - $this->feedService->delete($feedId, $this->getUserId()); + $this->feedService->delete($this->getUserId(), $feedId); } catch (ServiceNotFoundException $ex) { return $this->error($ex, Http::STATUS_NOT_FOUND); } |