forked from ddrilling/AsbCloudServer
Fix ReportController.GetReportsDateRangeAsync return 204 on default values
This commit is contained in:
parent
ed67556742
commit
3e6f43a4a6
@ -149,7 +149,10 @@ namespace AsbCloudWebApi.Controllers
|
||||
|
||||
if (wellReportsDatesRange is null)
|
||||
return NoContent();
|
||||
|
||||
|
||||
if (wellReportsDatesRange.From == wellReportsDatesRange.To)
|
||||
return NoContent();
|
||||
|
||||
return Ok(wellReportsDatesRange);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user