mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-01-24 16:24:15 +03:00
Add missing await in get_password_information
This commit is contained in:
parent
8e616bc85a
commit
c4d399e32d
|
@ -198,7 +198,7 @@ async def interactive_login(
|
|||
|
||||
|
||||
async def get_password_information(client: Client) -> PasswordToken:
|
||||
result = client(functions.account.get_password())
|
||||
result = await client(functions.account.get_password())
|
||||
assert isinstance(result, types.account.Password)
|
||||
return PasswordToken._new(result)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user