chore: fix formatting issues in views.py

This commit is contained in:
sumit_chaturvedi
2025-07-15 14:21:14 +05:30
parent a53d03e36e
commit dd16d896a9
+2 -2
View File
@@ -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",
}
]
)