mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-13 06:54:16 +00:00
chore: fix formatting issues in views.py
This commit is contained in:
1 parent
a53d03e36e
commit
dd16d896a9
1 file changed
+2
-2
@@ -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