fix backend bug wrong token note

pull/276/head
Tim Pechersky 2021-09-23 14:57:46 +02:00
rodzic 4b90c46476
commit 644699f86c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -188,7 +188,7 @@ async def token_update_handler(
) -> BugoutToken:
token = request.state.token
try:
response = bc.update_token(token, token_note=token_note)
response = bc.update_token(access_token, token_note=token_note)
except BugoutResponseException as e:
raise MoonstreamHTTPException(status_code=e.status_code, detail=e.detail)
except Exception as e: