mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 09:31:04 +00:00
fix GET /api/entries/{entry}/tags
This commit is contained in:
parent
0a018fe039
commit
1bd12b6229
1 changed files with 1 additions and 1 deletions
|
@ -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'));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue