From d8d5f596de625eb69fc9823f1ffc56adee19a5b7 Mon Sep 17 00:00:00 2001
From: "Alex. Plokhikh" <a.plohih@iqdev.digital>
Date: Tue, 16 Apr 2024 01:40:36 +0500
Subject: [PATCH] rm another 200 status

---
 src/Controller/IdSearchController.php | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/src/Controller/IdSearchController.php b/src/Controller/IdSearchController.php
index 86ba514..3dd1716 100644
--- a/src/Controller/IdSearchController.php
+++ b/src/Controller/IdSearchController.php
@@ -19,9 +19,6 @@ class IdSearchController extends AbstractController
     #[Route('/search', name: 'app_search', methods: ['POST'])]
     public function index(UsersRequest $request, IdSearchAction $action): JsonResponse
     {
-        return new JsonResponse(
-            $action->act($request->serialise()),
-            200
-        );
+        return new JsonResponse($action->act($request->serialise()));
     }
 }
\ No newline at end of file
-- 
GitLab