Chore: Enable ruff FBT (#8645)

This commit is contained in:
Sebastian Steinbeißer
2025-02-07 09:12:03 -08:00
committed by GitHub
parent b274665e21
commit e560fa3be0
27 changed files with 133 additions and 65 deletions
+2 -2
View File
@@ -148,7 +148,7 @@ class UserViewSet(ModelViewSet):
).first()
if authenticator is not None:
delete_and_cleanup(request, authenticator)
return Response(True)
return Response(data=True)
else:
return HttpResponseNotFound("TOTP not found")
@@ -262,7 +262,7 @@ class TOTPView(GenericAPIView):
).first()
if authenticator is not None:
delete_and_cleanup(request, authenticator)
return Response(True)
return Response(data=True)
else:
return HttpResponseNotFound("TOTP not found")