From 1ad8ecc37bdd167f9e4a0d1d75c6489830ca8538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A4=D1=80=D0=BE=D0=BB=D0=BE=D0=B2?= Date: Mon, 30 Aug 2021 15:09:27 +0500 Subject: [PATCH] update api client --- src/services/api/services/MeasureService.ts | 2 +- src/services/api/services/WellOperationService.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/api/services/MeasureService.ts b/src/services/api/services/MeasureService.ts index 2547a53..9d086fb 100644 --- a/src/services/api/services/MeasureService.ts +++ b/src/services/api/services/MeasureService.ts @@ -118,7 +118,7 @@ idData: number, ): Promise { const result = await __request({ method: 'DELETE', - path: `/api/well/${idWell}/measure`, + path: `/api/well/${idWell}/measure/history/${idData}`, }); return result.body; } diff --git a/src/services/api/services/WellOperationService.ts b/src/services/api/services/WellOperationService.ts index e621494..3215e56 100644 --- a/src/services/api/services/WellOperationService.ts +++ b/src/services/api/services/WellOperationService.ts @@ -48,7 +48,7 @@ begin?: string, end?: string, minDepth: number = -1.7976931348623157e+308, maxDepth: number = 1.7976931348623157e+308, -skip: number =0, +skip: number = 0, take: number = 32, ): Promise { const result = await __request({