diff options
author | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-11-13 16:26:10 +0300 |
---|---|---|
committer | Bernhard Posselt <dev@bernhard-posselt.com> | 2015-11-13 16:26:10 +0300 |
commit | 92720ae80873fbb0a81e440996806963cd226a5a (patch) | |
tree | b2f9e152083e55ba87a5a02d0c011a62b63f3e1b | |
parent | da6d97ccbaaa1f2a20194652ede2f8dbd123ffd6 (diff) |
fix #887
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | controller/feedapicontroller.php | 8 | ||||
-rw-r--r-- | controller/itemapicontroller.php | 4 | ||||
-rw-r--r-- | js/Gruntfile.js | 4 |
4 files changed, 13 insertions, 5 deletions
@@ -6,6 +6,8 @@ The News app is an RSS/Atom feed aggregator. It offers a [RESTful API](https://github.com/owncloud/news/wiki/API-1.2) for app developers. The source code is [available on GitHub](https://github.com/owncloud/news) +![](https://apps.owncloud.com/CONTENT/content-pre1/168040-1.png) + For further developer and user documentation please visit [the wiki](https://github.com/owncloud/news/wiki) ## Maintainers diff --git a/controller/feedapicontroller.php b/controller/feedapicontroller.php index d6198bc2c..9713db8cf 100644 --- a/controller/feedapicontroller.php +++ b/controller/feedapicontroller.php @@ -152,7 +152,9 @@ class FeedApiController extends ApiController { */ public function move($feedId, $folderId) { try { - $this->feedService->patch($feedId, $this->userId, ['folderId' => $folderId]); + $this->feedService->patch( + $feedId, $this->userId, ['folderId' => $folderId] + ); } catch(ServiceNotFoundException $ex) { return $this->error($ex, Http::STATUS_NOT_FOUND); } @@ -172,7 +174,9 @@ class FeedApiController extends ApiController { */ public function rename($feedId, $feedTitle) { try { - $this->feedService->patch($feedId, $this->userId, ['title' => $feedTitle]); + $this->feedService->patch( + $feedId, $this->userId, ['title' => $feedTitle] + ); } catch(ServiceNotFoundException $ex) { return $this->error($ex, Http::STATUS_NOT_FOUND); } diff --git a/controller/itemapicontroller.php b/controller/itemapicontroller.php index 06566f804..ec0baabfe 100644 --- a/controller/itemapicontroller.php +++ b/controller/itemapicontroller.php @@ -52,8 +52,8 @@ class ItemApiController extends ApiController { * @param bool $oldestFirst * @return array|mixed */ - public function index($type=3, $id=0, $getRead=true, $batchSize=-1, $offset=0, - $oldestFirst=false) { + public function index($type=3, $id=0, $getRead=true, $batchSize=-1, + $offset=0, $oldestFirst=false) { return $this->serializer->serialize( $this->itemService->findAll( $id, $type, $batchSize, $offset, $getRead, $oldestFirst, diff --git a/js/Gruntfile.js b/js/Gruntfile.js index c48d3b73c..19a2967d8 100644 --- a/js/Gruntfile.js +++ b/js/Gruntfile.js @@ -61,7 +61,9 @@ module.exports = function (grunt) { uglify: { app: { files: { - '<%= meta.production %>app.min.js': ['<%= meta.production %>app.js'] + '<%= meta.production %>app.min.js': [ + '<%= meta.production %>app.js' + ] } }, options: { |