Skip to content

Commit

Permalink
Merge pull request #59 from HackDavis/feat/better-routing
Browse files Browse the repository at this point in the history
reverted debug changes
  • Loading branch information
Austin2Shih authored Apr 18, 2024
2 parents 3b32853 + e871cb5 commit f428c14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/(api)/api/judges/route.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import authenticated from '@utils/authentication/authenticated';
import { POST as post } from './post';
import { GET } from './get';
import { GET as get } from './get';

const POST = authenticated(post);
// const GET = authenticated(get);
const GET = authenticated(get);

export { POST, GET };
1 change: 0 additions & 1 deletion app/(api)/auth/register/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export async function POST(request: NextRequest) {
if (d) {
const dd = atob(d);
const parsed = JSON.parse(dd);
console.log('HELLO');
body['email'] = parsed?.email ?? body.email;
body['name'] = parsed?.name ?? body.name;
body['specialty'] = parsed?.specialty ?? body.specialty;
Expand Down

0 comments on commit f428c14

Please sign in to comment.