mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Fixed url shortener not setting correct return variable.
This commit is contained in:
parent
1ffa5df531
commit
1e0404efd1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue