Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

Commit

Permalink
botway(core): remove headers from supabase config
Browse files Browse the repository at this point in the history
  • Loading branch information
abdfnx committed Oct 20, 2023
1 parent 645bf4b commit 2015ea0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/supabase/server.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { createServerComponentClient } from "@supabase/auth-helpers-nextjs";
import { cookies, headers } from "next/headers";
import { cookies } from "next/headers";

export default () =>
createServerComponentClient({
headers,
cookies,
});

0 comments on commit 2015ea0

Please sign in to comment.