fix: send Supabase token on raw fetch in SaaS chat

This commit is contained in:
Anthony Stirling
2026-06-08 16:41:09 +01:00
parent 02d923f378
commit 4cd03be87a
5 changed files with 56 additions and 8 deletions
@@ -467,7 +467,7 @@ export function ChatProvider({ children }: { children: ReactNode }) {
{
method: "POST",
body: formData,
headers: getAuthHeaders(),
headers: await getAuthHeaders(),
credentials: "include",
signal: controller.signal,
},