From 6918a7544900a08d0b47271d75c7b3705376e770 Mon Sep 17 00:00:00 2001 From: Chandrapal Badshah Date: Mon, 18 Aug 2025 13:19:23 +0530 Subject: [PATCH] fix: add business context to lighthouse chat (#8528) Co-authored-by: Chandrapal Badshah <12944530+Chan9390@users.noreply.github.com> --- ui/app/api/lighthouse/analyst/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/api/lighthouse/analyst/route.ts b/ui/app/api/lighthouse/analyst/route.ts index 435f063c35..51cf2bec4f 100644 --- a/ui/app/api/lighthouse/analyst/route.ts +++ b/ui/app/api/lighthouse/analyst/route.ts @@ -26,7 +26,7 @@ export async function POST(req: Request) { // Get AI configuration to access business context const aiConfig = await getLighthouseConfig(); - const businessContext = aiConfig?.data?.attributes?.business_context; + const businessContext = aiConfig?.attributes?.business_context; // Get current user data const currentData = await getCurrentDataSection();