added configureawait false to achievement method
This commit is contained in:
parent
6518361824
commit
99786a0c36
4 changed files with 6 additions and 7 deletions
|
@ -184,7 +184,7 @@ namespace GoldbergGUI.Core.Services
|
|||
client.DefaultRequestHeaders.UserAgent.ParseAdd(UserAgent);
|
||||
var apiUrl = $"{GameSchemaUrl}?key={Secrets.SteamWebApiKey()}&appid={steamApp.AppId}&l=en";
|
||||
|
||||
var response = await client.GetAsync(apiUrl);
|
||||
var response = await client.GetAsync(apiUrl).ConfigureAwait(false);
|
||||
var responseBody = await response.Content.ReadAsStringAsync().ConfigureAwait(false);
|
||||
|
||||
var jsonResponse = JsonDocument.Parse(responseBody);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue