summaryrefslogtreecommitdiffstats
path: root/external/feedapi.php
diff options
context:
space:
mode:
Diffstat (limited to 'external/feedapi.php')
-rw-r--r--external/feedapi.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/external/feedapi.php b/external/feedapi.php
index 0087886a2..580d9c2f0 100644
--- a/external/feedapi.php
+++ b/external/feedapi.php
@@ -26,7 +26,6 @@
namespace OCA\News\External;
use \OCA\AppFramework\Core\API;
-use \OCA\AppFramework\External\APIResult;
use \OCA\AppFramework\Controller\Controller;
use \OCA\AppFramework\Http\Request;
@@ -73,7 +72,7 @@ class FeedAPI extends Controller {
$this->itemBusinessLayer->getNewestItemId($userId);
} catch(BusinessLayerException $ex) {}
- return new APIResult($result);
+ return new NewsAPIResult($result);
}