Skip to content

Commit

Permalink
chore: deploy test
Browse files Browse the repository at this point in the history
  • Loading branch information
yaongmeow committed Jun 9, 2024
1 parent 0f8abbb commit f50e902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BE/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def access_token_gen(user:UserTokenInfo):
}
access_token = jwt.encode(
payload,
os.environ.get('JWT_SECRET_KEY_ACCESS'),
str(os.environ.get('JWT_SECRET_KEY_ACCESS')),
algorithm='HS256'
)
return access_token
Expand All @@ -49,7 +49,7 @@ def refresh_token_gen(user:UserTokenInfo):
}
refresh_token = jwt.encode(
payload,
os.environ.get('JWT_SECRET_KEY_REFRESH'),
str(os.environ.get('JWT_SECRET_KEY_REFRESH')),
algorithm='HS256'
)
return refresh_token

0 comments on commit f50e902

Please sign in to comment.