From 7c7e248d28801fbadb1901e84bbd8ae9476b6fa1 Mon Sep 17 00:00:00 2001 From: Nicholas Blumhardt Date: Fri, 27 Jan 2017 13:23:08 +1000 Subject: [PATCH] Missing .ConfigureAwait(false) --- src/Seq.Api/Api/ResourceGroups/UsersResourceGroup.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Seq.Api/Api/ResourceGroups/UsersResourceGroup.cs b/src/Seq.Api/Api/ResourceGroups/UsersResourceGroup.cs index 5a3264b..83baf25 100644 --- a/src/Seq.Api/Api/ResourceGroups/UsersResourceGroup.cs +++ b/src/Seq.Api/Api/ResourceGroups/UsersResourceGroup.cs @@ -70,13 +70,13 @@ public async Task GetSearchHistoryAsync(UserEntity entity) public async Task LoginWindowsIntegratedAsync() { - var providers = await GroupGetAsync("AuthenticationProviders"); + var providers = await GroupGetAsync("AuthenticationProviders").ConfigureAwait(false); var provider = providers.Providers.SingleOrDefault(p => p.Name == "Integrated Windows Authentication"); if (provider == null) throw new SeqApiException("The Integrated Windows Authentication provider is not available."); - var response = await Client.HttpClient.GetAsync(provider.Url); + var response = await Client.HttpClient.GetAsync(provider.Url).ConfigureAwait(false); response.EnsureSuccessStatusCode(); - return await FindCurrentAsync(); + return await FindCurrentAsync().ConfigureAwait(false); } } }