diff --git a/AsbCloudWebApi/Controllers/ProcessMaps/ProcessMapPlanBaseController.cs b/AsbCloudWebApi/Controllers/ProcessMaps/ProcessMapPlanBaseController.cs index 0ed1a5af..89b6c965 100644 --- a/AsbCloudWebApi/Controllers/ProcessMaps/ProcessMapPlanBaseController.cs +++ b/AsbCloudWebApi/Controllers/ProcessMaps/ProcessMapPlanBaseController.cs @@ -189,10 +189,10 @@ public abstract class ProcessMapPlanBaseController : ControllerBase if (idWell < 0) return this.ValidationBadRequest(nameof(uid), "Скважина по uid не найдена"); - var serviceRequest = new ProcessMapPlanBaseRequestWithWell(new ProcessMapPlanBaseRequest() + var serviceRequest = new ProcessMapPlanBaseRequestWithWell(idWell) { UpdateFrom = updateFrom, - }, idWell); + }; var result = await repository.GetChangeLog(serviceRequest, null, token); return Ok(result);