This commit is contained in:
2021-05-07 17:55:15 +00:00
parent 9151ac2ada
commit 7782259944
3 changed files with 15 additions and 10 deletions

View File

@@ -70,9 +70,10 @@ namespace AyaNova.Biz
var ServerState = (AyaNova.Api.ControllerHelpers.ApiServerState)ServiceProviderProvider.Provider.GetService(typeof(AyaNova.Api.ControllerHelpers.ApiServerState));
var ret = await AyaNova.Core.License.FetchKeyAsync(ServerState, ct, log, true);
#if (DEBUG)
log.LogInformation("TEST FETCH OK");
#endif
//When this was enabled never saw a failed fetch, trying again without it
// #if (DEBUG)
// log.LogInformation("TEST FETCH OK");
// #endif
//most often the result will be "notfound" but in future might be other results
if (ret == "ok")
{