mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
Remove dbg! print
This commit is contained in:
parent
fb6ae4a9df
commit
7c18750a8f
2 changed files with 4 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
name = "teloxide-core"
|
||||
description = "Core part of the `teloxide` library - telegram bot API client"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1"
|
||||
edition = "2018"
|
||||
authors = [
|
||||
"Temirkhan Myrzamadi <hirrolot@gmail.com>",
|
||||
|
|
|
@ -59,10 +59,9 @@ where
|
|||
tokio::time::sleep(DELAY_ON_SERVER_ERROR).await;
|
||||
}
|
||||
|
||||
serde_json::from_str::<TelegramResponse<T>>(dbg!(&response
|
||||
.text()
|
||||
.await
|
||||
.map_err(RequestError::NetworkError)?))
|
||||
serde_json::from_str::<TelegramResponse<T>>(
|
||||
&response.text().await.map_err(RequestError::NetworkError)?,
|
||||
)
|
||||
.map_err(RequestError::InvalidJson)?
|
||||
.into()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue