fix url formatting in send_to_gas function
This commit is contained in:
parent
65e1f39299
commit
1e0a1f09ac
1 changed files with 1 additions and 1 deletions
|
|
@ -380,7 +380,7 @@ async fn send_to_gas(
|
|||
) {
|
||||
let json_data = serde_json::to_string(&data).unwrap();
|
||||
let encoded_json = urlencoding::encode(&json_data);
|
||||
let url = format!("{}?text={}", gas_url, encoded_json);
|
||||
let url = format!("{}{}", gas_url, encoded_json);
|
||||
|
||||
match client.get(&url).send().await {
|
||||
Ok(response) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue