@@ -11,16 +11,16 @@ |
||
| 11 | 11 | public function store(Request $request) |
| 12 | 12 | { |
| 13 | 13 | $entity = $this->mainService |
| 14 | - ->store( |
|
| 15 | - $this->filterRequest( |
|
| 16 | - $request->json()->all(), |
|
| 14 | + ->store( |
|
| 15 | + $this->filterRequest( |
|
| 16 | + $request->json()->all(), |
|
| 17 | 17 | $this->mainService |
| 18 | - ->getMainRepository() |
|
| 19 | - ->createEntity() |
|
| 20 | - ->getOnlyStore() |
|
| 18 | + ->getMainRepository() |
|
| 19 | + ->createEntity() |
|
| 20 | + ->getOnlyStore() |
|
| 21 | 21 | ) |
| 22 | - ) |
|
| 23 | - ->flush(); |
|
| 22 | + ) |
|
| 23 | + ->flush(); |
|
| 24 | 24 | |
| 25 | 25 | return response()->json($entity->toArray($this->optionsToArrayStore)); |
| 26 | 26 | } |