mirror of
https://github.com/ShareX/ShareX.git
synced 2024-07-04 14:11:38 +12:00
Added Dropfile deletion URL
This commit is contained in:
parent
aee83e1536
commit
294395047f
|
@ -45,6 +45,7 @@ public override UploadResult Upload(Stream stream, string fileName)
|
|||
if (response != null && response.Status == 0)
|
||||
{
|
||||
result.URL = response.URL;
|
||||
result.DeletionURL = response.URL + "+" + response.Access_key;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -55,6 +56,7 @@ private class DropfileResponse
|
|||
{
|
||||
public int Status { get; set; }
|
||||
public string URL { get; set; }
|
||||
public string Access_key { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue