mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 17:56:51 +13:00
Change local variables to lowercase
This commit is contained in:
parent
ac3e6cc8fe
commit
d8b694e2d9
1 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@ public override UploadResult ShortenURL(string url)
|
|||
}
|
||||
};
|
||||
|
||||
string RequestUrl = "https://firebasedynamiclinks.googleapis.com/v1/shortLinks";
|
||||
string requesturl = "https://firebasedynamiclinks.googleapis.com/v1/shortLinks";
|
||||
|
||||
Dictionary<string, string> args = new Dictionary<string, string>
|
||||
{
|
||||
|
@ -89,9 +89,9 @@ public override UploadResult ShortenURL(string url)
|
|||
};
|
||||
}
|
||||
|
||||
string RequestJson = JsonConvert.SerializeObject(request);
|
||||
string requestjson = JsonConvert.SerializeObject(request);
|
||||
|
||||
result.Response = SendRequest(HttpMethod.POST, RequestUrl, RequestJson, ContentTypeJSON, args);
|
||||
result.Response = SendRequest(HttpMethod.POST, requesturl, requestjson, ContentTypeJSON, args);
|
||||
result.ShortenedURL = JsonConvert.DeserializeObject<FirebaseResponse>(result.Response).shortLink;
|
||||
|
||||
return result;
|
||||
|
|
Loading…
Reference in a new issue