fix SubsystemController

This commit is contained in:
ngfrolov 2024-02-22 10:48:49 +05:00
parent 4c7ae125c1
commit 72669b0526
Signed by: ng.frolov
GPG Key ID: E99907A0357B29A7

View File

@ -65,7 +65,7 @@ namespace AsbCloudWebApi.Controllers.Subsystems
[HttpGet("drillerDetectedOperationStat")]
[ProducesResponseType(typeof(IEnumerable<DrillerDetectedOperationStatDto>), (int)System.Net.HttpStatusCode.OK)]
public async Task<IActionResult> GetByWellsAsync(GetStatRequest request,
public async Task<IActionResult> GetByWellsAsync([FromQuery] GetStatRequest request,
CancellationToken token)
{
if (!request.IdsWells.Any())