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")] [HttpGet("listkeys")]
public ActionResult GetDataListKeys() public ActionResult GetDataListKeys()
{ {
//NOTE: not used by AyaNova Client, convenience method for developers api usage
if (!serverState.IsOpen) if (!serverState.IsOpen)
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason)); return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));

View File

@@ -38,7 +38,6 @@ namespace AyaNova.Biz
public static bool IsValidFormFieldDefinitionKey(string key) public static bool IsValidFormFieldDefinitionKey(string key)
{ {
System.Diagnostics.Debugger.Log(1, "DEV_TEST", $"AyaFormFieldDefinitions::IsValidFormFieldDefinitionKey {key}\n");
return AyaFormFieldDefinitionKeys.Contains(key); return AyaFormFieldDefinitionKeys.Contains(key);
} }