diff --git a/src/bed-admission/active-patients/patient-queues.resource.ts b/src/bed-admission/active-patients/patient-queues.resource.ts index 3fa14b7..70ffa36 100644 --- a/src/bed-admission/active-patients/patient-queues.resource.ts +++ b/src/bed-admission/active-patients/patient-queues.resource.ts @@ -29,7 +29,7 @@ export function usePatientQueuesList( currentQueueRoomLocationUuid: string, status: string ) { - const apiUrl = `/ws/rest/v1/patientqueue?v=full&locationFrom=${currentQueueRoomLocationUuid}&status=${status}`; + const apiUrl = `/ws/rest/v1/patientqueue?v=full&room=${currentQueueRoomLocationUuid}&status=${status}`; return usePatientQueueRequest(apiUrl); }