forked from wallabag/wallabag
Jump to Symfony 3.3 & update others deps
Also update tests urls
This commit is contained in:
@ -752,7 +752,7 @@ class EntryRestController extends WallabagRestController
|
||||
$context = new SerializationContext();
|
||||
$context->setSerializeNull(true);
|
||||
|
||||
$json = $this->get('serializer')->serialize($data, 'json', $context);
|
||||
$json = $this->get('jms_serializer')->serialize($data, 'json', $context);
|
||||
|
||||
return (new JsonResponse())->setJson($json);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user