Skip to content

Commit

Permalink
reverted debug changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin2Shih committed Apr 18, 2024
1 parent f534c8a commit e871cb5
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 e871cb5

Please sign in to comment.