Browse Source

Adds missing ConfigureAwait

pull/962/head
Darnell Williams 7 years ago
parent
commit
05facd7cb8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Rest/ClientHelper.cs

+ 1
- 1
src/Discord.Net.Rest/ClientHelper.cs View File

@@ -166,7 +166,7 @@ namespace Discord.Rest

public static async Task<int> GetRecommendShardCountAsync(BaseDiscordClient client, RequestOptions options)
{
var response = await client.ApiClient.GetBotGatewayAsync(options);
var response = await client.ApiClient.GetBotGatewayAsync(options).ConfigureAwait(false);
return response.Shards;
}
}


Loading…
Cancel
Save