relay: sender: client: added route to signal successfull download to relay
This commit is contained in:
parent
5db7d6991c
commit
67b3931b58
4 changed files with 71 additions and 6 deletions
|
|
@ -26,7 +26,7 @@ pub async fn send_info(relay: &str, file: &str) -> Result<String> {
|
|||
|
||||
let client = Client::new();
|
||||
let res = client
|
||||
.post(relay.to_string() + "/upload")
|
||||
.post(format!("{}/upload", relay))
|
||||
.json(&map)
|
||||
.send()
|
||||
.await?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue