summaryrefslogtreecommitdiffstats
path: root/src/release.rs
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-12-12 19:45:55 +0100
committerCyborus <cyborus@cyborus.xyz>2024-12-12 19:45:55 +0100
commit41cbec543b4d76eb528ec948528241ca1242162f (patch)
tree4b1032fa43c13c7e901dd4e0cfc875ec817ea0ac /src/release.rs
parentMerge pull request 'use `Repository::discover` instead of `open`' (#144) from... (diff)
downloadforgejo-cli-41cbec543b4d76eb528ec948528241ca1242162f.tar.xz
forgejo-cli-41cbec543b4d76eb528ec948528241ca1242162f.zip
chore: update `forgejo-api` to 0.5.0
Diffstat (limited to '')
-rw-r--r--src/release.rs6
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?;