This commit is contained in:
softprops 2019-08-26 00:22:09 -04:00
parent 32614434e4
commit 96ebf47495

View file

@ -92,7 +92,7 @@ impl<A: Into<Body>> AssetUploader<A> for Client {
) -> Result<StatusCode, Box<dyn Error>> {
Ok(self
.post(&format!(
"http://uploads.github.com/repos/{}/releases/{}/assets",
"https://uploads.github.com/repos/{}/releases/{}/assets",
github_repo, release_id
))
.header("Authorization", format!("bearer {}", github_token))