This commit is contained in:
2020-12-24 20:40:02 +00:00
parent 4e2840ad1c
commit 93db49c5d3
2 changed files with 4 additions and 4 deletions

View File

@@ -95,6 +95,7 @@ namespace AyaNova.Api.Controllers
[HttpGet("listkeys")]
public ActionResult GetDataListKeys()
{
//NOTE: not used by AyaNova Client, convenience method for developers api usage
if (!serverState.IsOpen)
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));