mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-04 14:11:38 +12:00
Fixed url shortener not setting correct return variable.
This commit is contained in:
parent
1ffa5df531
commit
1e0404efd1
|
@ -288,7 +288,7 @@ public override UploadResult ShortenURL(string url)
|
||||||
UploadResult ur = new UploadResult();
|
UploadResult ur = new UploadResult();
|
||||||
if (apiResponse.Result != null && apiResponse.Error == null)
|
if (apiResponse.Result != null && apiResponse.Error == null)
|
||||||
{
|
{
|
||||||
ur.URL = apiResponse.Result.shortUrl;
|
ur.ShortenedURL = apiResponse.Result.shortUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ur;
|
return ur;
|
||||||
|
|
Loading…
Reference in a new issue