mirror of
https://github.com/kristoferssolo/transmission-rpc.git
synced 2025-10-21 20:10:37 +00:00
Merge pull request #18 from nickzana/ubuntu-torrent-add
Replace outdated Ubuntu 20.04 with 20.04.2.0.
This commit is contained in:
commit
810ef71537
@ -18,7 +18,7 @@ async fn main() -> Result<()> {
|
|||||||
client = TransClient::new(&url);
|
client = TransClient::new(&url);
|
||||||
}
|
}
|
||||||
let add: TorrentAddArgs = TorrentAddArgs {
|
let add: TorrentAddArgs = TorrentAddArgs {
|
||||||
filename: Some("https://releases.ubuntu.com/20.04/ubuntu-20.04-desktop-amd64.iso.torrent".to_string()),
|
filename: Some("https://releases.ubuntu.com/20.04/ubuntu-20.04.2.0-desktop-amd64.iso.torrent".to_string()),
|
||||||
..TorrentAddArgs::default()
|
..TorrentAddArgs::default()
|
||||||
};
|
};
|
||||||
let res: RpcResponse<TorrentAdded> = client.torrent_add(add).await?;
|
let res: RpcResponse<TorrentAdded> = client.torrent_add(add).await?;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user