From cf70cf5c1cdc25fec24714c5faf8986ef5c97153 Mon Sep 17 00:00:00 2001 From: yaso Date: Fri, 8 Nov 2024 12:00:36 +0200 Subject: [PATCH] fix personal api call to get --- backend/routers/patients_queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routers/patients_queue.py b/backend/routers/patients_queue.py index 2a44e3d4..a65a9eb1 100644 --- a/backend/routers/patients_queue.py +++ b/backend/routers/patients_queue.py @@ -73,7 +73,7 @@ async def read_all_patient_queue_by_business_id(app_id: str, date: str, session: query += "from patient_manager.patient_queue " query += "inner join patient_manager.patients " query += "on patient_queue.app_id = patients.app_id " - query = query + "where app_id = %s and date_time like '" + str(requestDate) + "%' " + query = query + "where patient_queue.app_id = %s and date_time like '" + str(requestDate) + "%' " query += "ORDER BY date_time ASC" cursor.execute(query, (app_id,)) items = [