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