From ea32056ca880f8b7c4e1e72052ec2564abf3c9db Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Mon, 22 Dec 2025 15:29:39 +0700 Subject: [PATCH] feat(FE-347): adjust getProductionData method --- src/services/api/closing.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/services/api/closing.ts b/src/services/api/closing.ts index c77d49f1..21ae1cf8 100644 --- a/src/services/api/closing.ts +++ b/src/services/api/closing.ts @@ -143,12 +143,11 @@ export class ClosingApiService extends BaseApiService { id: number ): Promise | undefined> { try { - // const getProductionDataPath = `${this.basePath}/${id}/production-data`; - // const getProductionDataRes = await httpClient< - // BaseApiResponse - // >(getProductionDataPath); + const getProductionDataPath = `${this.basePath}/${id}/production-data`; + const getProductionDataRes = await httpClient< + BaseApiResponse + >(getProductionDataPath); - // return getProductionDataRes; } catch (error) { if (axios.isAxiosError>(error)) {