Skip to content

Commit f428c14

Browse files
authored
Merge pull request #59 from HackDavis/feat/better-routing
reverted debug changes
2 parents 3b32853 + e871cb5 commit f428c14

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

app/(api)/api/judges/route.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import authenticated from '@utils/authentication/authenticated';
22
import { POST as post } from './post';
3-
import { GET } from './get';
3+
import { GET as get } from './get';
44

55
const POST = authenticated(post);
6-
// const GET = authenticated(get);
6+
const GET = authenticated(get);
77

88
export { POST, GET };

app/(api)/auth/register/route.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export async function POST(request: NextRequest) {
2626
if (d) {
2727
const dd = atob(d);
2828
const parsed = JSON.parse(dd);
29-
console.log('HELLO');
3029
body['email'] = parsed?.email ?? body.email;
3130
body['name'] = parsed?.name ?? body.name;
3231
body['specialty'] = parsed?.specialty ?? body.specialty;

0 commit comments

Comments
 (0)