diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-02-20 20:36:05 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-03-06 20:50:30 +0100 |
commit | 1bd12b62296569764ac329d88e964059dec530be (patch) | |
tree | db936470cee989e4586612d27823886d89170f5a /src | |
parent | 0a018fe03980b35c9f7aca838e67a8efa43b7f2d (diff) | |
download | wallabag-1bd12b62296569764ac329d88e964059dec530be.tar.gz wallabag-1bd12b62296569764ac329d88e964059dec530be.tar.zst wallabag-1bd12b62296569764ac329d88e964059dec530be.zip |
fix GET /api/entries/{entry}/tags
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/WallabagRestController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php index b895b67c..db9cf1be 100644 --- a/src/Wallabag/CoreBundle/Controller/WallabagRestController.php +++ b/src/Wallabag/CoreBundle/Controller/WallabagRestController.php | |||
@@ -196,7 +196,7 @@ class WallabagRestController extends Controller | |||
196 | */ | 196 | */ |
197 | public function getEntriesTagsAction(Entry $entry) | 197 | public function getEntriesTagsAction(Entry $entry) |
198 | { | 198 | { |
199 | $json = $this->get('serializer')->serialize($entry, 'json'); | 199 | $json = $this->get('serializer')->serialize($entry->getTags(), 'json'); |
200 | 200 | ||
201 | return new Response($json, 200, array('application/json')); | 201 | return new Response($json, 200, array('application/json')); |
202 | } | 202 | } |