mirror of
https://github.com/teloxide/teloxide.git
synced 2025-03-14 11:44:04 +01:00
fix clippy
This commit is contained in:
parent
cfb48a6fa4
commit
9eb51ad34b
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ where
|
|||
// [#460]: https://github.com/teloxide/teloxide/issues/460
|
||||
let method_name = method_name.trim_end_matches("Inline");
|
||||
|
||||
let mut request = client
|
||||
let request = client
|
||||
.post(crate::net::method_url(api_url, token, method_name))
|
||||
.multipart(params)
|
||||
.build()
|
||||
|
@ -77,7 +77,7 @@ where
|
|||
// [#460]: https://github.com/teloxide/teloxide/issues/460
|
||||
let method_name = method_name.trim_end_matches("Inline");
|
||||
|
||||
let mut request = client
|
||||
let request = client
|
||||
.post(crate::net::method_url(api_url, token, method_name))
|
||||
.header(CONTENT_TYPE, HeaderValue::from_static("application/json"))
|
||||
.body(params)
|
||||
|
|
Loading…
Add table
Reference in a new issue