From 172db4e1956203e1a86076842bb637f4bd3673a6 Mon Sep 17 00:00:00 2001 From: sriharsh05 Date: Tue, 16 Jan 2024 12:55:08 +0530 Subject: [PATCH] fix failed test case --- src/Redux/actions.tsx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/Redux/actions.tsx b/src/Redux/actions.tsx index 5fef9529923..a29ee803cba 100644 --- a/src/Redux/actions.tsx +++ b/src/Redux/actions.tsx @@ -294,11 +294,9 @@ export const updateMinQuantity = (pathParams: object, params: object) => { return fireRequest("updateMinQuantity", [], pathParams, params); }; export const getInventorySummary = (facilityId: number, params: object) => { - return fireRequest( - "getInventorySummary", - [facilityId, "inventorysummary"], - params - ); + return fireRequest("getInventorySummary", [], params, { + facility_external_id: facilityId, + }); }; export const generateDischargeSummary = (pathParams: object) => {