Add missing await in get_password_information

This commit is contained in:
Lonami Exo 2023-10-16 20:10:05 +02:00
parent 8e616bc85a
commit c4d399e32d

View File

@ -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)