From 04c4b4d0473bf2f268395136e62dc34b2d91e04e Mon Sep 17 00:00:00 2001 From: hallidayo <22655069+Hallidayo@users.noreply.github.com> Date: Tue, 19 Dec 2023 19:13:04 +0000 Subject: [PATCH] docs: Next user management app (#19845) changed to use POST Co-authored-by: Charis <26616127+charislam@users.noreply.github.com> --- .../docs/pages/guides/getting-started/tutorials/with-nextjs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/pages/guides/getting-started/tutorials/with-nextjs.mdx b/apps/docs/pages/guides/getting-started/tutorials/with-nextjs.mdx index edc8aac8b6c..ca68d79bf05 100644 --- a/apps/docs/pages/guides/getting-started/tutorials/with-nextjs.mdx +++ b/apps/docs/pages/guides/getting-started/tutorials/with-nextjs.mdx @@ -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 })