summaryrefslogtreecommitdiffstats
path: root/examples/scopes
diff options
context:
space:
mode:
Diffstat (limited to 'examples/scopes')
-rw-r--r--examples/scopes/scopes.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scopes/scopes.cs b/examples/scopes/scopes.cs
index 6b6b5e3..b58b785 100644
--- a/examples/scopes/scopes.cs
+++ b/examples/scopes/scopes.cs
@@ -9,7 +9,7 @@ dynamic sg = new SendGrid.SendGridAPIClient(_apiKey);
// Retrieve a list of scopes for which this user has access.
// GET /scopes
-dynamic response = sg.client.scopes.get();
+dynamic response = await sg.client.scopes.get();
Console.WriteLine(response.StatusCode);
Console.WriteLine(response.Body.ReadAsStringAsync().Result);
Console.WriteLine(response.Headers.ToString());