Change local variables to lowercase

This commit is contained in:
Matthew Burnett 2018-04-09 01:17:02 -04:00
parent ac3e6cc8fe
commit d8b694e2d9

View file

@ -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;