diff options
author | Cyborus <cyborus@cyborus.xyz> | 2024-12-12 19:45:55 +0100 |
---|---|---|
committer | Cyborus <cyborus@cyborus.xyz> | 2024-12-12 19:45:55 +0100 |
commit | 41cbec543b4d76eb528ec948528241ca1242162f (patch) | |
tree | 4b1032fa43c13c7e901dd4e0cfc875ec817ea0ac /src/release.rs | |
parent | Merge pull request 'use `Repository::discover` instead of `open`' (#144) from... (diff) | |
download | forgejo-cli-41cbec543b4d76eb528ec948528241ca1242162f.tar.xz forgejo-cli-41cbec543b4d76eb528ec948528241ca1242162f.zip |
chore: update `forgejo-api` to 0.5.0
Diffstat (limited to '')
-rw-r--r-- | src/release.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/release.rs b/src/release.rs index 0b72533..60a1abf 100644 --- a/src/release.rs +++ b/src/release.rs @@ -267,7 +267,8 @@ async fn create_release( repo.owner(), repo.name(), id, - tokio::fs::read(file).await?, + Some(tokio::fs::read(file).await?), + None, query, ) .await?; @@ -473,7 +474,8 @@ async fn create_asset( repo.owner(), repo.name(), id, - tokio::fs::read(file).await?, + Some(tokio::fs::read(file).await?), + None, query, ) .await?; |