Skip to content

Commit 1c5ca00

Browse files
committed
Update comment
1 parent b4eccf7 commit 1c5ca00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/api/get-name/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { authkit } from "@workos-inc/authkit-nextjs";
22
import { NextRequest, NextResponse } from "next/server";
33

44
export const GET = async (request: NextRequest) => {
5-
// Use 'getSession' for edge functions that don't have access to headers
5+
// Use 'authkit' for edge functions that don't have access to headers
66
const { session } = await authkit(request);
77

88
if (!session || !session.user) {

0 commit comments

Comments
 (0)