Skip to content

Commit 4a4416e

Browse files
Esteban Dalel Rsaltcod
andauthored
Fix error on route for Next JS tutorial (supabase#18686)
Fix error on route Co-authored-by: Terry Sutton <saltcod@gmail.com>
1 parent 69d3482 commit 4a4416e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/docs/pages/guides/getting-started/tutorials/with-nextjs.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ import { createRouteHandlerClient } from '@supabase/auth-helpers-nextjs'
358358
import { cookies } from 'next/headers'
359359
import { NextResponse } from 'next/server'
360360

361-
export async function POST(req) {
361+
export async function GET(req) {
362362
const cookieStore = cookies()
363363
const supabase = createRouteHandlerClient({ cookies: () => cookieStore })
364364

0 commit comments

Comments
 (0)