We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7ec9bc5 + 278ef69 commit 6f1a7b2Copy full SHA for 6f1a7b2
README.md
@@ -59,7 +59,7 @@ To get the current user's root folder of their default drive:
59
```csharp
60
// Get the user's driveId
61
var drive = await graphClient.Me.Drive.GetAsync();
62
-var userDriveId = driveItem.Id;
+var userDriveId = drive.Id;
63
// use the driveId to get the root drive
64
var rootItem = await graphClient.Drives[userDriveId].Root.GetAsync();
65
```
0 commit comments