GuglielmoTor commited on
Commit
cbe5355
·
verified ·
1 Parent(s): e49a7f5

Update services/report_data_handler.py

Browse files
Files changed (1) hide show
  1. services/report_data_handler.py +1 -1
services/report_data_handler.py CHANGED
@@ -59,7 +59,7 @@ def save_report_results(
59
 
60
  if success_ids: # bulk_upload_to_bubble returns list of IDs or False
61
  logger.info(f"Successfully saved agentic analysis to Bubble. Record ID: {success_ids}")
62
- return True
63
  else:
64
  logger.error(f"Failed to save agentic analysis to Bubble. {success_ids}")
65
  return False
 
59
 
60
  if success_ids: # bulk_upload_to_bubble returns list of IDs or False
61
  logger.info(f"Successfully saved agentic analysis to Bubble. Record ID: {success_ids}")
62
+ return success_ids.id
63
  else:
64
  logger.error(f"Failed to save agentic analysis to Bubble. {success_ids}")
65
  return False