From becb23641923d3ce2dcb478f8943ad4b267e2c28 Mon Sep 17 00:00:00 2001 From: Benjamin Brahmer Date: Tue, 3 Nov 2020 20:38:17 +0100 Subject: fix delete api Signed-off-by: Benjamin Brahmer --- lib/Controller/FeedApiController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); } -- cgit v1.2.3