Skip to content

Commit

Permalink
fix: change error python version
Browse files Browse the repository at this point in the history
  • Loading branch information
RustamovAkrom committed Nov 19, 2024
1 parent a020808 commit a7716d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/users/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from rest_framework_simplejwt.tokens import RefreshToken, AccessToken


def generate_jwt_tokens(user) -> tuple[RefreshToken, AccessToken]:
def generate_jwt_tokens(user):
refresh = RefreshToken.for_user(user)
access_token = refresh.access_token
access_token["user_id"] = user.id
Expand Down

0 comments on commit a7716d6

Please sign in to comment.