1
0
Fork 0

formatting

This commit is contained in:
Cyborus 2024-01-18 16:51:09 -05:00
parent 6d2c1ce21c
commit ac25339cf6
No known key found for this signature in database
2 changed files with 66 additions and 31 deletions

View file

@ -129,7 +129,10 @@ impl Forgejo {
let release = self
.repo_get_release_attachment(owner, repo, release, attach)
.await?;
let request = self.client.get(format!("/attachments/{}", release.uuid.unwrap())).build()?;
let request = self
.client
.get(format!("/attachments/{}", release.uuid.unwrap()))
.build()?;
Ok(self.execute(request).await?.bytes().await?)
}