fixing curly quotes

This commit is contained in:
akemi 2022-12-05 18:06:28 -05:00
parent 55f5e7866d
commit 2f8a435e18

View file

@ -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'));