Loading src/Controller/UniqElementsController.php +1 −4 Original line number Diff line number Diff line Loading @@ -14,9 +14,6 @@ class UniqElementsController extends AbstractController #[Route('/uniq/elements', name: 'app_uniq_elements', methods: ['POST'])] public function index(UniqElementsRequest $request, UniqElementsAction $action): Response { return new JsonResponse( $action->act($request->serialise()), 200 ); return new JsonResponse($action->act($request->serialise())); } } Loading
src/Controller/UniqElementsController.php +1 −4 Original line number Diff line number Diff line Loading @@ -14,9 +14,6 @@ class UniqElementsController extends AbstractController #[Route('/uniq/elements', name: 'app_uniq_elements', methods: ['POST'])] public function index(UniqElementsRequest $request, UniqElementsAction $action): Response { return new JsonResponse( $action->act($request->serialise()), 200 ); return new JsonResponse($action->act($request->serialise())); } }