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();
|
$hateoas = HateoasBuilder::create()->build();
|
||||||
$json = $hateoas->serialize($entries, 'json');
|
$json = $hateoas->serialize($entries, 'json');
|
||||||
|
|
||||||
return $entries;
|
return new Response($json, 200, array('application/json'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user