Merge pull request #12204 from akemidx/fixcurlyquotes

Fixed: curly quotes in #12182
This commit is contained in:
snipe 2022-12-05 15:33:47 -08:00 committed by GitHub
commit b7a5467f8b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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