From 63c8c57775eccaec71b019a0465f3788d4f437ca Mon Sep 17 00:00:00 2001 From: Abhiuday Date: Fri, 15 Dec 2023 09:19:14 +0530 Subject: [PATCH] fix(actions): removed unnecessary actions for duty staff --- src/Redux/actions.tsx | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/Redux/actions.tsx b/src/Redux/actions.tsx index be8a1432522..2395c9ad163 100644 --- a/src/Redux/actions.tsx +++ b/src/Redux/actions.tsx @@ -150,35 +150,6 @@ export const partialUpdateFacilityAssetLocation = ( external_id, }); -export const createFacilityAssetLocationDutyStaff = ( - params: object, - facility_external_id: string, - external_id: string -) => - fireRequest("createFacilityAssetLocationDutyStaff", [], params, { - facility_external_id, - external_id, - }); - -export const removeFacilityAssetLocationDutyStaff = ( - duty_staff: number[], - facility_external_id: string, - external_id: string -) => - fireRequest( - "removeFacilityAssetLocationDutyStaff", - [], - { - data: { - duty_staff: duty_staff, - }, - }, - { - facility_external_id, - external_id, - } - ); - // asset bed export const listAssetBeds = (params: object, altKey?: string) => fireRequest("listAssetBeds", [], params, {}, altKey);