From 38194873285d79ab6e79f6fbbded29c1a90b6cb6 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Tue, 8 Oct 2024 12:53:12 -0700 Subject: [PATCH] initial --- app/dao/services_dao.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dao/services_dao.py b/app/dao/services_dao.py index 0f87c1410..38ced647f 100644 --- a/app/dao/services_dao.py +++ b/app/dao/services_dao.py @@ -51,7 +51,7 @@ from app.utils import ( def dao_fetch_all_services(only_active=False): - with Session() as session: + with Session(db.engine) as session: stmt = ( select(Service) .order_by(asc(Service.created_at))