wip: begin refactoring into proper API Platform

This commit is contained in:
Vincent
2025-05-05 14:00:10 +02:00
parent 5184f2c190
commit 01c8c72fe6
3 changed files with 77 additions and 4 deletions

View File

@@ -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);