fix GET /api/entries/{entry}/tags
This commit is contained in:
parent
0a018fe039
commit
1bd12b6229
@ -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…
x
Reference in New Issue
Block a user