Fixed app not launching properly
This commit is contained in:
parent
717960c6b5
commit
201e122e8b
3 changed files with 18 additions and 14 deletions
|
@ -64,7 +64,7 @@ namespace auto_creamapi.Services
|
|||
MyLogger.Log.Information("Getting content from API...");
|
||||
var client = new HttpClient();
|
||||
var httpCall = client.GetAsync(SteamUri);
|
||||
var response = await httpCall;
|
||||
var response = await httpCall.ConfigureAwait(false);
|
||||
var readAsStringAsync = response.Content.ReadAsStringAsync();
|
||||
var responseBody = await readAsStringAsync;
|
||||
MyLogger.Log.Information("Got content from API successfully. Writing to file...");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue