diff options
Diffstat (limited to 'src/release.rs')
-rw-r--r-- | src/release.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/release.rs b/src/release.rs index bbd1225..9661fb5 100644 --- a/src/release.rs +++ b/src/release.rs @@ -400,11 +400,11 @@ async fn download_asset( let release = find_release(repo, api, &release).await?; let file = match &*asset { "source.zip" => { - api.download_release_zip(repo.owner(), repo.name(), release.id) + api.download_zip_archive(repo.owner(), repo.name(), &release.tag_name) .await? } "source.tar.gz" => { - api.download_release_tarball(repo.owner(), repo.name(), release.id) + api.download_tarball_archive(repo.owner(), repo.name(), &release.tag_name) .await? } name => { |