display build type in about page and release 8.0.6
This commit is contained in:
@@ -114,7 +114,7 @@ namespace AyaNova.Api.Controllers
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Get API server info for general display
|
||||
/// Get API server info for ABOUT form AyaNova display
|
||||
/// </summary>
|
||||
/// <returns>API server info</returns>
|
||||
[HttpGet("server-info")]
|
||||
@@ -129,7 +129,12 @@ namespace AyaNova.Api.Controllers
|
||||
ServerLocalTime = DateUtil.ServerDateTimeString(System.DateTime.UtcNow),
|
||||
ServerTimeZone = TimeZoneInfo.Local.Id,
|
||||
ServerDbId = AyaNova.Core.License.ServerDbId,
|
||||
License = AyaNova.Core.License.LicenseInfoAsJson
|
||||
License = AyaNova.Core.License.LicenseInfoAsJson,
|
||||
#if (SUBSCRIPTION_BUILD)
|
||||
Build = "Subscription"
|
||||
#else
|
||||
Build = "Perpetual"
|
||||
#endif
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user