Removed unused readOnly property on return response
This commit is contained in:
@@ -97,7 +97,7 @@ namespace AyaNova.Api.Controllers
|
||||
if (!serverState.IsOpen)
|
||||
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));
|
||||
|
||||
return Ok(ApiOkResponse.Response(DataListFactory.GetListOfAllDataListKeyNames(), true));
|
||||
return Ok(ApiOkResponse.Response(DataListFactory.GetListOfAllDataListKeyNames()));
|
||||
}
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ namespace AyaNova.Api.Controllers
|
||||
return BadRequest(new ApiErrorResponse(ApiErrorCode.NOT_FOUND, "DataListKey", $"DataList \"{DataListKey}\" specified does not exist"));
|
||||
}
|
||||
|
||||
return Ok(ApiOkResponse.Response(DataList.FieldDefinitions, true));
|
||||
return Ok(ApiOkResponse.Response(DataList.FieldDefinitions));
|
||||
}
|
||||
|
||||
}//eoc
|
||||
|
||||
Reference in New Issue
Block a user