This commit is contained in:
2020-07-31 00:04:57 +00:00
parent 7c0f66412f
commit 7ba1f47242
7 changed files with 27 additions and 27 deletions

View File

@@ -229,7 +229,7 @@ namespace AyaNova.Api.Controllers
//type might not be supported
if (PickList == null)
{
return BadRequest(new ApiErrorResponse(ApiErrorCode.NOT_FOUND, "ayatype", $"PickList for type \"{ayaType.ToString()}\" not supported"));
return BadRequest(new ApiErrorResponse(ApiErrorCode.NOT_FOUND, null, $"PickList for type \"{ayaType.ToString()}\" not supported"));
}
return Ok(ApiOkResponse.Response(PickList.ColumnDefinitions));
}