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:
hallidayoandCharis authored and GitHub committed 2023-12-19 19:13:04 +00:00
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 })