This commit is contained in:
@@ -472,15 +472,13 @@ namespace AyaNova.Core
|
||||
{
|
||||
log.LogDebug($"Fetching license for DBID {LicenseDbId.ToString()}");
|
||||
string sUrl = $"{LICENSE_SERVER_URL}rvf/{LicenseDbId.ToString()}";
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
//string RawTextKeyFromRockfish = await _Client.GetStringAsync(sUrl);
|
||||
string RawTextKeyFromRockfish = await ServiceProviderProvider.HttpClientFactory.CreateClient().GetStringAsync(sUrl);
|
||||
//FUTURE: if there is any kind of error response or REASON or LicenseFetchStatus then here is
|
||||
//where to deal with it
|
||||
//todo: key should hang off json data object as text version of key
|
||||
//that way we can put other objects on the data return object
|
||||
|
||||
AyaNovaLicenseKey ParsedKey = Parse(RawTextKeyFromRockfish, log);
|
||||
if (ParsedKey != null)
|
||||
|
||||
Reference in New Issue
Block a user