From 669f18acbc5d6443ceae232622612d14f203f6b3 Mon Sep 17 00:00:00 2001 From: Khalim Conn-Kowlessar Date: Tue, 22 Jul 2025 18:55:37 +0100 Subject: [PATCH] get from body rather than data --- .idea/Model.iml | 2 +- .idea/misc.xml | 2 +- backend/app/plan/router.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.idea/Model.iml b/.idea/Model.iml index b7c665b5..c6561970 100644 --- a/.idea/Model.iml +++ b/.idea/Model.iml @@ -7,7 +7,7 @@ - + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 269d725d..50cad4ca 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,7 +3,7 @@ - + diff --git a/backend/app/plan/router.py b/backend/app/plan/router.py index f059c568..18f14751 100644 --- a/backend/app/plan/router.py +++ b/backend/app/plan/router.py @@ -44,7 +44,7 @@ async def trigger_plan_entrypoint(body: PlanTriggerRequest): if data.get("file_format") == "domna_asset_list" and data.get("file_type") == "xlsx": try: - total_rows = body.get("sheet_count", 0) + total_rows = data.get("sheet_count", 0) chunk_size = 30 total_chunks = math.ceil(total_rows / chunk_size)