mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
docs: Next user management app (#19845)
changed to use POST Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
1 parent
c0677e347d
commit
04c4b4d047
1 file changed
+1
-1
@@ -358,7 +358,7 @@ import { createRouteHandlerClient } from '@supabase/auth-helpers-nextjs'
|
||||
import { cookies } from 'next/headers'
|
||||
import { NextResponse } from 'next/server'
|
||||
|
||||
export async function GET(req) {
|
||||
export async function POST(req) {
|
||||
const cookieStore = cookies()
|
||||
const supabase = createRouteHandlerClient({ cookies: () => cookieStore })
|
||||
|
||||
|
||||
Reference in new issue
Block a user