From 67c42687513ef5a007d4c9ed2bcd5dfe0f4e3f74 Mon Sep 17 00:00:00 2001 From: Derrek <80121818+derrekcoleman@users.noreply.github.com> Date: Tue, 24 Oct 2023 10:05:16 -0600 Subject: [PATCH] Update protected.ts Fix small typo --- pages/api/examples/protected.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/examples/protected.ts b/pages/api/examples/protected.ts index 80bc0365..c42ccf21 100644 --- a/pages/api/examples/protected.ts +++ b/pages/api/examples/protected.ts @@ -1,4 +1,4 @@ -// This is an example of to protect an API route +// This is an example of how to protect an API route import { auth } from "auth" import type { NextApiRequest, NextApiResponse } from "next"