diff options
Diffstat (limited to 'external/feedapi.php')
-rw-r--r-- | external/feedapi.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/external/feedapi.php b/external/feedapi.php index fba43b249..3acd87a0e 100644 --- a/external/feedapi.php +++ b/external/feedapi.php @@ -198,7 +198,7 @@ class FeedAPI extends Controller { )); } - return new JSONResponse($result); + return new JSONResponse($result); } @@ -213,6 +213,7 @@ class FeedAPI extends Controller { try { $this->feedBusinessLayer->update($feedId, $userId); + return new JSONResponse(); } catch(BusinessLayerException $ex) { return new JSONResponse(array('message' => $ex->getMessage()), Http::STATUS_NOT_FOUND); |