From 393552f26007313dbd5228dd9bd96233e0f46fa4 Mon Sep 17 00:00:00 2001 From: Marsel Shaikhin Date: Thu, 15 Feb 2024 16:52:07 +0100 Subject: [PATCH] fix: add missing event handler to authjs playground --- playground-authjs/server/middleware/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/playground-authjs/server/middleware/auth.ts b/playground-authjs/server/middleware/auth.ts index 7a4d4c3a..be391037 100644 --- a/playground-authjs/server/middleware/auth.ts +++ b/playground-authjs/server/middleware/auth.ts @@ -1,3 +1,4 @@ +import { eventHandler } from 'h3' import { getServerSession } from '#auth' export default eventHandler(async (event) => {