Using wrong variable

This commit is contained in:
Jefemy 2022-05-14 20:33:30 -04:00 committed by GitHub
parent 2c953bb110
commit 29ed48137b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -206,7 +206,7 @@ public override UploadResult Upload(Stream stream, string fileName)
headers.Remove("Host");
headers.Remove("Content-Type");
string url = URLHelpers.CombineURL(scheme + endpoint, canonicalURI);
string url = URLHelpers.CombineURL(scheme + host, canonicalURI);
url = URLHelpers.FixPrefix(url, "https://");
SendRequest(HttpMethod.PUT, url, stream, contentType, null, headers);