diff --git a/Controller/SyncController.php b/Controller/SyncController.php index 2dda450..1266b65 100755 --- a/Controller/SyncController.php +++ b/Controller/SyncController.php @@ -83,7 +83,9 @@ public function pushAction(Request $request) try { $data = json_decode($request->getContent(), true); $result = $this->pushService->push($data); - return new JsonResponse($result, 200); + return new JsonResponse(array( + "mappings" => $result + ), 200); } catch (\Exception $e) { return new JsonResponse($e->getMessage(), 500); }