1
0
Fork 0
This commit is contained in:
Cyborus 2023-12-15 12:02:39 -05:00
parent e725903eb9
commit 96124821ba
No known key found for this signature in database
3 changed files with 29 additions and 8 deletions

View file

@ -224,10 +224,10 @@ async fn repo(api: &forgejo_api::Forgejo) -> eyre::Result<()> {
api.download_release_attachment("TestingAdmin", "test", release.id, attachment.id)
.await?
.as_deref()
== Some(b"This is a file!"),
== Some(b"This is a file!"),
"couldn't download attachment"
);
api.delete_release_attachment("TestingAdmin", "test", release.id, attachment.id)
.await
.wrap_err("failed to deleted attachment")?;