Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

Commit d9fcece

Browse files
author
Eugene Mosunov
authored
Fix issue with wrong method name in ResourceApiController
1 parent be98449 commit d9fcece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Api/ResourceApiController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public function index(Request $request): Response
124124
* @throws EntityServiceOperationException
125125
* @throws ValidationException
126126
*/
127-
public function create(Request $request): Response
127+
public function store(Request $request): Response
128128
{
129129
return $this->json($this->entityService->create($request->toArray()), $this->transformer);
130130
}

0 commit comments

Comments
 (0)