Remove dbg! print

This commit is contained in:
Waffle 2021-02-17 14:23:13 +03:00
parent fb6ae4a9df
commit 7c18750a8f
2 changed files with 4 additions and 5 deletions

View file

@ -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>",

View file

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