diff --git a/app/Http/Controllers/Api/UsersController.php b/app/Http/Controllers/Api/UsersController.php index 5a368ecde9..9348b04b57 100644 --- a/app/Http/Controllers/Api/UsersController.php +++ b/app/Http/Controllers/Api/UsersController.php @@ -505,7 +505,7 @@ class UsersController extends Controller $user = User::findOrFail($id); if (empty($user->email)) { - return response()->json(Helper::formatStandardApiResponse(‘error’, null, trans('admin/users/message.inventorynotification.error'))); + return response()->json(Helper::formatStandardApiResponse('error', null, trans('admin/users/message.inventorynotification.error'))); } return response()->Helper::formatStandardApiResponse('success', null, trans('admin/users/message.inventorynotification.success'));