]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Controller/WallabagRestController.php
fix GET /api/entries/{entry}/tags
[github/wallabag/wallabag.git] / 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'));
     }