From b502dc154d337c732d47265c26c51f9793768f51 Mon Sep 17 00:00:00 2001 From: "Alex. Plokhikh" <a.plohih@iqdev.digital> Date: Tue, 16 Apr 2024 01:42:54 +0500 Subject: [PATCH] rm another 200 status --- src/Controller/UniqElementsController.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Controller/UniqElementsController.php b/src/Controller/UniqElementsController.php index 6652b9d..442c9d7 100644 --- a/src/Controller/UniqElementsController.php +++ b/src/Controller/UniqElementsController.php @@ -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())); } } -- GitLab