mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-07 03:04:08 +01:00
returns serialzed object for GET /entries
This commit is contained in:
parent
0f00688096
commit
0ed6302212
@ -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…
x
Reference in New Issue
Block a user