summaryrefslogtreecommitdiffstats
path: root/src/release.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/release.rs')
-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?;