Skip to content

Commit 85b7aa1

Browse files
committed
fix: correct stale Next.js references to H3 in JSDoc
1 parent 5de18a3 commit 85b7aa1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

server/routes/auth/logout/callback.get.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import { parseCookies } from 'h3';
99
* If validation is successful, it clears the user's session cookies and
1010
* redirects to a success page. Otherwise, it redirects to an error page.
1111
*
12-
* @param request - The incoming Next.js request object, which contains the
12+
* @param event - The incoming H3 event object, which contains the
1313
* URL and its search parameters, including the `state` from the IdP.
14-
* @returns A NextResponse object that either redirects the user to a success
14+
* @returns A redirect response that either redirects the user to a success
1515
* or error page. Upon success, it includes headers to delete session cookies.
1616
*/
1717
export default defineEventHandler(async (event: H3Event) => {

0 commit comments

Comments
 (0)