Skip to content

Commit 3114fd4

Browse files
Fix comment and return type
1 parent 915a3d3 commit 3114fd4

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/api/BoreholeGeometryExtensions.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public static class BoreholeGeometryExtensions
2626
{
2727
try
2828
{
29-
// Assuming GetDepthTVD is another extension method or a suitable method of List<BoreholeGeometryElement>
3029
return geometry.GetDepthTVD(depthMD.Value);
3130
}
3231
catch (ArgumentOutOfRangeException)

src/api/Controllers/BoreholeGeometryController.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ public async Task<IActionResult> GetDepthTVD([FromQuery] int boreholeId, [FromQu
122122
if (tvd == null)
123123
{
124124
logger?.LogInformation($"Invalid input, could not calculate true vertical depth from measured depth of {depthMD}");
125-
return Ok();
126125
}
127126

128127
return Ok(tvd);

0 commit comments

Comments
 (0)