mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
wip: begin refactoring into proper API Platform
This commit is contained in:
@@ -447,6 +447,7 @@ class WatchListController extends AbstractController
|
||||
{
|
||||
/** @var WatchList $watchList */
|
||||
$watchList = $this->serializer->deserialize($content, WatchList::class, 'json', ['groups' => $groups]);
|
||||
return $watchList;
|
||||
|
||||
$data = json_decode($content, true, 512, JSON_THROW_ON_ERROR);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user