Fixed url shortener not setting correct return variable.

This commit is contained in:
Uncled1023 2019-01-27 18:52:27 -08:00
parent 1ffa5df531
commit 1e0404efd1

View file

@ -288,7 +288,7 @@ public override UploadResult ShortenURL(string url)
UploadResult ur = new UploadResult();
if (apiResponse.Result != null && apiResponse.Error == null)
{
ur.URL = apiResponse.Result.shortUrl;
ur.ShortenedURL = apiResponse.Result.shortUrl;
}
return ur;