diff --git a/server/AyaNova/Controllers/LicenseController.cs b/server/AyaNova/Controllers/LicenseController.cs index f39778df..17a2e7a6 100644 --- a/server/AyaNova/Controllers/LicenseController.cs +++ b/server/AyaNova/Controllers/LicenseController.cs @@ -70,17 +70,16 @@ namespace AyaNova.Api.Controllers /// - /// Get License info + /// Get Trial status of license /// - /// Information about the currently installed license in AyaNova + /// True if a trial license [AllowAnonymous] [HttpGet("trial")] public ActionResult GetTrialFlag() { + //note: this route is called by the client as the first action so it also acts like a ping to see if the server is up as well if (serverState.IsClosed) return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason)); - - return Ok(ApiOkResponse.Response(AyaNova.Core.License.ActiveKey.TrialLicense, true)); }