Skip to content

Commit

Permalink
remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
FreekBes committed Oct 10, 2024
1 parent 21af65e commit 1eb1ff7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/routes/quiz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ const isQuizAvailable = async function(prisma: PrismaClient): Promise<boolean> {
},
});
const currentDate = new Date();
console.log(`Current date: ${currentDate}, start date: ${settings.start_at}, end date: ${settings.deadline_at}`);
console.log(`Quiz available: ${currentDate.getTime() >= settings.start_at.getTime()} && ${currentDate.getTime() < settings.deadline_at.getTime()}`);
return (currentDate.getTime() >= settings.start_at.getTime() && currentDate.getTime() < settings.deadline_at.getTime());
}

Expand Down

0 comments on commit 1eb1ff7

Please sign in to comment.