Skip to content

Commit

Permalink
fix failed test case
Browse files Browse the repository at this point in the history
  • Loading branch information
sriharsh05 committed Jan 16, 2024
1 parent 88020e6 commit 172db4e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/Redux/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 172db4e

Please sign in to comment.