fix assets url
This commit is contained in:
parent
9003b6a3e7
commit
1cddac2999
@ -90,7 +90,7 @@ impl<A: Into<Body>> AssetUploader<A> for Client {
|
|||||||
) -> Result<StatusCode, Box<dyn Error>> {
|
) -> Result<StatusCode, Box<dyn Error>> {
|
||||||
Ok(self
|
Ok(self
|
||||||
.post(&format!(
|
.post(&format!(
|
||||||
"http://uploads.github.com/repos/{}/releases/{}",
|
"http://uploads.github.com/repos/{}/releases/{}/assets",
|
||||||
github_repo, release_id
|
github_repo, release_id
|
||||||
))
|
))
|
||||||
.header("Authorization", format!("bearer {}", github_token))
|
.header("Authorization", format!("bearer {}", github_token))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user