This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user