This commit is contained in:
2022-06-23 21:57:48 +00:00
parent 55e58e0697
commit c1b8d820b3
4 changed files with 10 additions and 2 deletions

View File

@@ -38,6 +38,7 @@ namespace AyaNovaQBI
internal static AyaNovaLicense ALicense { get; set; } = null;
internal static Integration QBIntegration { get; set; } = null;
internal static bool LOG_AVAILABLE { get; set; } = false;
@@ -487,6 +488,7 @@ namespace AyaNovaQBI
return false;
}
//Get license
var r = await GetAsync("license");
ALicense = r.ObjectResponse["data"]["license"].ToObject<AyaNovaLicense>();
@@ -528,6 +530,7 @@ namespace AyaNovaQBI
if (!await IntegrationCheck(initErrors))
return false;
LOG_AVAILABLE = true;
//todo: logger needs to be enabled for integration next in a convenient to call util method and then make it work in UI
await IntegrationLog("Test: boot up");