mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Merge branch 'master' of https://github.com/ShareX/ShareX
This commit is contained in:
commit
45d5fe6eb7
1 changed files with 2 additions and 1 deletions
|
@ -288,7 +288,8 @@ public string CreateShareableLink(string id, OneDriveLinkType linkType = OneDriv
|
|||
|
||||
string json = JsonConvert.SerializeObject(new
|
||||
{
|
||||
type = linkTypeValue
|
||||
type = linkTypeValue,
|
||||
scope = "anonymous"
|
||||
});
|
||||
|
||||
string response = SendRequest(HttpMethod.POST, $"https://graph.microsoft.com/v1.0/me/drive/items/{id}/createLink", json, RequestHelpers.ContentTypeJSON,
|
||||
|
|
Loading…
Reference in a new issue