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)