Skip to content

Commit c9df711

Browse files
committed
Undo accidental change
1 parent 8c693d9 commit c9df711

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roborock/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,9 @@ async def login(ctx, email, password):
320320
user_data = await client.pass_login(password)
321321
else:
322322
print(f"Requesting code for {email}")
323-
await client.request_code_v4()
323+
await client.request_code()
324324
code = click.prompt("A code has been sent to your email, please enter the code", type=str)
325-
user_data = await client.code_login_v4(code)
325+
user_data = await client.code_login(code)
326326
print("Login successful")
327327
context.update(ConnectionCache(user_data=user_data, email=email))
328328

0 commit comments

Comments
 (0)