diff --git a/shared/helpers/backendFetch.ts b/shared/helpers/backendFetch.ts index 7416c03..f41c5d2 100644 --- a/shared/helpers/backendFetch.ts +++ b/shared/helpers/backendFetch.ts @@ -30,6 +30,7 @@ export const backendFetch = async (path: string, options: RequestInit = {}) => { "Content-Type": "application/json", "x-client-info": JSON.stringify(clientInfo), Authorization: `Bearer ${process.env.BACKEND_API_KEY}`, + cookie: (await headers()).get("cookie") || "", ...options.headers, }, cache: "default",