Skip to content

Commit

Permalink
fix(actions): removed unnecessary actions for duty staff
Browse files Browse the repository at this point in the history
  • Loading branch information
aeswibon committed Dec 15, 2023
1 parent e0b2573 commit 63c8c57
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions src/Redux/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 63c8c57

Please sign in to comment.