diff --git a/app/(api)/_datalib/judges/getJudge.ts b/app/(api)/_datalib/judges/getJudge.ts index 7fb55ee8..1007c3f7 100644 --- a/app/(api)/_datalib/judges/getJudge.ts +++ b/app/(api)/_datalib/judges/getJudge.ts @@ -34,8 +34,6 @@ export const GetManyJudges = async (query: object = {}) => { const db = await getDatabase(); const judge = await db.collection('judges').find(query).toArray(); - console.log(judge); - return NextResponse.json( { ok: true, body: judge, error: null }, { status: 200 } diff --git a/app/(api)/api/judges/route.ts b/app/(api)/api/judges/route.ts index 7d1ebaf5..24e06b58 100644 --- a/app/(api)/api/judges/route.ts +++ b/app/(api)/api/judges/route.ts @@ -1,8 +1,8 @@ import authenticated from '@utils/authentication/authenticated'; import { POST as post } from './post'; -import { GET as get } from './get'; +import { GET } from './get'; const POST = authenticated(post); -const GET = authenticated(get); +// const GET = authenticated(get); export { POST, GET };