diff --git a/app/Helpers/ApiResponse.php b/app/Helpers/ApiResponse.php index 8f8c677..1b1d475 100644 --- a/app/Helpers/ApiResponse.php +++ b/app/Helpers/ApiResponse.php @@ -31,12 +31,12 @@ public function apiResponse($data, $status = 200) $data['success'] = 0; } - return response()->json($data, $status); + return response()->json($data, $status)->setEncodingOptions(JSON_UNESCAPED_UNICODE); } public function remoteResponse($response, $status = 200) { - return response()->json($response, $status); + return response()->json($response, $status)->setEncodingOptions(JSON_UNESCAPED_UNICODE); } // success