]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
fix GET /api/entries/{entry}/tags
authorNicolas Lœuillet <nicolas@loeuillet.org>
Fri, 20 Feb 2015 19:36:05 +0000 (20:36 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Fri, 6 Mar 2015 19:50:30 +0000 (20:50 +0100)
src/Wallabag/CoreBundle/Controller/WallabagRestController.php

index b895b67cd913b881bbd765f06918d54972576c64..db9cf1be4d3b857ab3c798b6559df001b716e523 100644 (file)
@@ -196,7 +196,7 @@ class WallabagRestController extends Controller
      */
     public function getEntriesTagsAction(Entry $entry)
     {
-        $json = $this->get('serializer')->serialize($entry, 'json');
+        $json = $this->get('serializer')->serialize($entry->getTags(), 'json');
 
         return new Response($json, 200, array('application/json'));
     }