Updated grammers.

Signed-off-by: Pavel Kirilin <win10@list.ru>
This commit is contained in:
2024-07-26 17:56:22 +02:00
parent 0b943c56c4
commit 8cad92b7e3
3 changed files with 699 additions and 731 deletions

View File

@ -47,9 +47,8 @@ async fn authorize(
web_code: Arc<RwLock<Option<String>>>,
) -> anyhow::Result<()> {
log::info!("Requesting login code.");
let token = client
.request_login_code(&args.phone, args.app_id, &args.api_hash)
.await?;
let token = client.request_login_code(&args.phone).await?;
// args.app_id, &args.api_hash
let mut code = None;
// Check for code to becom available every second.