mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-22 13:36:18 +00:00
returns serialzed object for GET /entries
This commit is contained in:
parent
0f00688096
commit
0ed6302212
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class WallabagRestController extends Controller
|
|||
$hateoas = HateoasBuilder::create()->build();
|
||||
$json = $hateoas->serialize($entries, 'json');
|
||||
|
||||
return $entries;
|
||||
return new Response($json, 200, array('application/json'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue