Skip to content

Commit

Permalink
remove unused redux actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Jan 3, 2024
1 parent 72bdeb7 commit 45a6fbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/Redux/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ export const getAllSkills = (params: object) => {
return fireRequest("getAllSkills", [], params);
};

export const getPermittedFacility = (id: number | string, key?: string) => {
return fireRequest("getPermittedFacility", [], {}, { id: id }, key);
};

export const getAnyFacility = (id: number | string, key?: string) => {
return fireRequest("getAnyFacility", [], {}, { id: id }, key);
};
Expand Down Expand Up @@ -109,11 +105,6 @@ export const deleteAssetBed = (asset_id: string) =>
}
);

export const listPatientAssetBeds = (
facility_external_id: string,
params: object
) => fireRequest("listPatientAssetBeds", [], params, { facility_external_id });

// Facility Beds
export const listFacilityBeds = (params: object) =>
fireRequest("listFacilityBeds", [], params, {});
Expand Down
2 changes: 2 additions & 0 deletions src/Redux/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {
AssetServiceUpdate,
AssetTransaction,
AssetUpdate,
PatientAssetBed,
} from "../Components/Assets/AssetTypes";
import {
CapacityModal,
Expand Down Expand Up @@ -394,6 +395,7 @@ const routes = {
listPatientAssetBeds: {
path: "/api/v1/facility/{facility_external_id}/patient_asset_beds/",
method: "GET",
TRes: Type<PaginatedResponse<PatientAssetBed>>(),
},

// Facility Beds
Expand Down

0 comments on commit 45a6fbb

Please sign in to comment.