diff --git a/backend/app/repositories/campaign_repository.py b/backend/app/repositories/campaign_repository.py index bdf310c..c7fdcd3 100755 --- a/backend/app/repositories/campaign_repository.py +++ b/backend/app/repositories/campaign_repository.py @@ -229,11 +229,11 @@ class CampaignRepository: "Overall Status": row.overall_status or "", "Version Workfront ID": row.version_workfront_id or "", "Version Created": row.version_created_at.strftime("%Y-%m-%d %H:%M:%S") if row.version_created_at else "", - "Legal RAG": (agent_review.get("legalAgent") or {}).get("ragStatus") or "", - "Brand RAG": (agent_review.get("brandAgent") or {}).get("ragStatus") or "", - "Channel Best Practices RAG": (agent_review.get("channelAgent") or {}).get("bestPractices", {}).get("ragStatus") if agent_review.get("channelAgent") else "", - "Channel Tech Specs RAG": (agent_review.get("channelAgent") or {}).get("techSpecs", {}).get("ragStatus") if agent_review.get("channelAgent") else "", - "Lead Agent Summary": (agent_review.get("leadAgent") or {}).get("summary") or "", + "Legal RAG": (agent_review.get("legalAgentReview") or {}).get("ragStatus") or "", + "Brand RAG": (agent_review.get("brandAgentReview") or {}).get("ragStatus") or "", + "Channel Best Practices RAG": (agent_review.get("channelBestPracticesAgentReview") or {}).get("ragStatus") or "", + "Channel Tech Specs RAG": (agent_review.get("channelTechSpecsAgentReview") or {}).get("ragStatus") or "", + "Lead Agent Summary": agent_review.get("leadAgentSummary") or "", }) return export_rows