Skip to content
Snippets Groups Projects
Commit d8d5f596 authored by Александр Плохих's avatar Александр Плохих :waxing_gibbous_moon:
Browse files

rm another 200 status

parent b175b9ea
No related branches found
No related tags found
1 merge request!2Ptps|controller 2
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
...@@ -19,9 +19,6 @@ class IdSearchController extends AbstractController ...@@ -19,9 +19,6 @@ class IdSearchController extends AbstractController
#[Route('/search', name: 'app_search', methods: ['POST'])] #[Route('/search', name: 'app_search', methods: ['POST'])]
public function index(UsersRequest $request, IdSearchAction $action): JsonResponse public function index(UsersRequest $request, IdSearchAction $action): JsonResponse
{ {
return new JsonResponse( return new JsonResponse($action->act($request->serialise()));
$action->act($request->serialise()),
200
);
} }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment