mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 12:31:54 +00:00
chore: fix formatting issues in views.py
This commit is contained in:
@@ -783,14 +783,14 @@ class UserViewSet(BaseUserViewset):
|
||||
try:
|
||||
return super().destroy(request, *args, **kwargs)
|
||||
except Exception as e:
|
||||
print("Exception caught in destroy():", e)
|
||||
print("Exception caught in destroy():", e)
|
||||
|
||||
raise ValidationError(
|
||||
[
|
||||
{
|
||||
"detail": "Failed to delete the user",
|
||||
"status": "400",
|
||||
"code": "delete_failed"
|
||||
"code": "delete_failed",
|
||||
}
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user