fix assets url

This commit is contained in:
softprops committed 2019-08-25 22:01:15 -04:00
1 parent 9003b6a3e7
commit 1cddac2999
1 file changed
+1 -1
+1 -1
View File
@@ -90,7 +90,7 @@ impl<A: Into<Body>> AssetUploader<A> for Client {
) -> Result<StatusCode, Box<dyn Error>> {
Ok(self
.post(&format!(
"http://uploads.github.com/repos/{}/releases/{}",
"http://uploads.github.com/repos/{}/releases/{}/assets",
github_repo, release_id
))
.header("Authorization", format!("bearer {}", github_token))