Removed all references to FabTime

This commit is contained in:
Daniel Wathen
2023-01-11 10:00:39 -07:00
parent 43e5ec3e28
commit 6436465fa1
14 changed files with 30 additions and 468 deletions

View File

@ -10,17 +10,10 @@ namespace ReportingServices.Shared.HelperClasses
{
T deserializedJson = default(T);
try
using (HttpClient client = new())
{
using (HttpClient client = new())
{
string apiResponse = await client.GetStringAsync(url);
deserializedJson = JsonSerializer.Deserialize<T>(apiResponse);
}
}
catch (Exception ex)
{
string apiResponse = await client.GetStringAsync(url);
deserializedJson = JsonSerializer.Deserialize<T>(apiResponse);
}
return deserializedJson;