Removed test code

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-06-22 19:42:34 +01:00
parent bbbfa91db9
commit e60dbc883c
2 changed files with 2 additions and 2 deletions

View file

@ -544,7 +544,7 @@ class UsersController extends Controller
}
return response()->json(Helper::formatStandardApiResponse('error', null, 'Whoops.'.trans('admin/users/message.user_not_found')));
return response()->json(Helper::formatStandardApiResponse('error', null, trans('admin/users/message.user_not_found')));
}

View file

@ -68,7 +68,7 @@ class DeleteUserRequest extends FormRequest
$messages = array_merge([
'user.exists' => 'Boop. '.trans('admin/users/message.user_not_found'),
'user.exists' => trans('admin/users/message.user_not_found'),
// Cannot delete yourself
'user.not_in' => trans('admin/users/message.error.cannot_delete_yourself'),