Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 7112666

Browse files
author
johnaustin
committed
Replaced scope parameter value with null so the Graph SDK generates the correct JSON body for the OneDrive create sharing link operation
1 parent e825c52 commit 7112666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/microsoft/graph/connect/GraphServiceController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ public void getSharingLink(String id, ICallback<Permission> callback) {
323323
.getMe()
324324
.getDrive()
325325
.getItems(id)
326-
.getCreateLink("organization", "view")
326+
.getCreateLink(null, "view")
327327
.buildRequest()
328328
.post(callback);
329329
} catch (Exception ex) {

0 commit comments

Comments
 (0)