hopefully fixed refresh token issue
This commit is contained in:
parent
6031f9893d
commit
8bdfaee57d
2 changed files with 1 additions and 1 deletions
Binary file not shown.
|
|
@ -150,7 +150,7 @@ async def refresh_token(
|
|||
return RefreshResponse(
|
||||
access_token=new_access_token,
|
||||
user_id=user_id,
|
||||
role=user.role.value
|
||||
role=user.role if isinstance(user.role, str) else user.role.value
|
||||
)
|
||||
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue