From 014c164fe7a597605f91584c500927fcadc8e61b Mon Sep 17 00:00:00 2001 From: michelleyeoh Date: Mon, 28 Oct 2024 10:48:56 -0700 Subject: [PATCH] with auth --- app/(api)/api/events/route.ts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/(api)/api/events/route.ts b/app/(api)/api/events/route.ts index 7d1ebaf5..e9066dec 100644 --- a/app/(api)/api/events/route.ts +++ b/app/(api)/api/events/route.ts @@ -1,8 +1,9 @@ -import authenticated from '@utils/authentication/authenticated'; -import { POST as post } from './post'; -import { GET as get } from './get'; +// import authenticated from '@utils/authentication/authenticated'; +import { POST } from './post'; +import { GET } from './get'; -const POST = authenticated(post); -const GET = authenticated(get); +//commented out for testing +// const POST = authenticated(post); +// const GET = authenticated(get); export { POST, GET };