Merge pull request #18 from nickzana/ubuntu-torrent-add

Replace outdated Ubuntu 20.04 with 20.04.2.0.
This commit is contained in:
Aleksandr 2021-03-14 17:39:52 +01:00 committed by GitHub
commit 810ef71537
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ async fn main() -> Result<()> {
client = TransClient::new(&url);
}
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()
};
let res: RpcResponse<TorrentAdded> = client.torrent_add(add).await?;