formatting
This commit is contained in:
parent
6d2c1ce21c
commit
ac25339cf6
2 changed files with 66 additions and 31 deletions
|
|
@ -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?)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue