This commit is contained in:
2020-02-18 21:57:46 +00:00
parent 48dbe860ff
commit 587aed164f

View File

@@ -205,7 +205,7 @@ namespace AyaNova.Api.Controllers
/// </summary>
/// <param name="dataListKey">Key of an existing DataList</param>
/// <returns>A single DataListView</returns>
[HttpGet("/default/{dataListKey}")]
[HttpGet("default/{dataListKey}")]
public ActionResult GetDefaultDataListView([FromRoute] string dataListKey)
{
if (serverState.IsClosed)
@@ -224,7 +224,7 @@ namespace AyaNova.Api.Controllers
if (o == null)
return NotFound(new ApiErrorResponse(ApiErrorCode.NOT_FOUND));
return Ok(ApiOkResponse.Response(o, true));
return Ok(ApiOkResponse.Response(o.DefaultListView, true));
}