Skip to content

Commit

Permalink
with auth
Browse files Browse the repository at this point in the history
  • Loading branch information
michelleyeoh committed Oct 28, 2024
1 parent f8e36f1 commit 014c164
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/(api)/api/events/route.ts
Original file line number Diff line number Diff line change
@@ -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 };

0 comments on commit 014c164

Please sign in to comment.