added configureawait false to achievement method

This commit is contained in:
Jeddunk 2022-05-12 22:06:42 +02:00
parent 6518361824
commit 99786a0c36
4 changed files with 6 additions and 7 deletions

View file

@ -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);