Skip to content

Commit

Permalink
doc: context awareness: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TerraTalpi committed Aug 18, 2021
1 parent 330fe47 commit af7bec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/example_Context-awareness.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if err != nil {
// create new context:
ctx, cancel := context.WithCancel(context.Background())
// example for Get-func:
users, err := graphClient.GetUser("[email protected]", msgraph.GetWithContext(ctx))
user, err := graphClient.GetUser("[email protected]", msgraph.GetWithContext(ctx))
// example for List-func:
users, err := graphClient.ListUsers(msgraph.ListWithContext(ctx))
// example for Create-func:
Expand Down

0 comments on commit af7bec9

Please sign in to comment.