Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 21, 2024
1 parent dc6c39b commit 2da70b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rest_framework_simplejwt/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@ class TokenBlacklistView(TokenViewBase):
def post(self, request: Request, *args, **kwargs) -> Response:
response = super().post(request, *args, **kwargs)
serializer_data = response.data
serializer_data['Token detail'] = 'Token blacklisted'
serializer_data["Token detail"] = "Token blacklisted"

return Response(serializer_data, status=response.status_code)


token_blacklist = TokenBlacklistView.as_view()

0 comments on commit 2da70b0

Please sign in to comment.