Removed unused readOnly property on return response

This commit is contained in:
2020-05-18 16:25:08 +00:00
parent eacf8eb7aa
commit 07390b6a31
42 changed files with 126 additions and 125 deletions

View File

@@ -46,7 +46,7 @@ namespace AyaNova.Api.Controllers
//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));
return Ok(ApiOkResponse.Response(!AyaNova.Core.License.ActiveKey.TrialLicense));
}
@@ -61,7 +61,7 @@ namespace AyaNova.Api.Controllers
//STUB: https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3783
if (serverState.IsClosed)
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
return Ok(ApiOkResponse.Response(69, true));
return Ok(ApiOkResponse.Response(69));
}
//TODO: See new count case for gist of it