From e6f4cb0687454a65873510c9cc83327b23cd5718 Mon Sep 17 00:00:00 2001 From: Cizz22 Date: Thu, 30 Jan 2025 16:27:08 +0700 Subject: [PATCH] fix minor bug --- src/overhaul_activity/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/overhaul_activity/service.py b/src/overhaul_activity/service.py index 8ecde11..05d7881 100644 --- a/src/overhaul_activity/service.py +++ b/src/overhaul_activity/service.py @@ -128,7 +128,7 @@ async def create(*, db_session: DbSession, overhaul_activty_in: OverhaulActivity ) # Execute the statement - db_session.execute(stmt) + await db_session.execute(stmt) await db_session.execute( sqlUpdate(OverhaulActivity) .where(OverhaulActivity.overhaul_scope_id == overhaul_session_id)