Skip to content

Commit

Permalink
finalize
Browse files Browse the repository at this point in the history
  • Loading branch information
gmochid committed Apr 6, 2024
1 parent 6345601 commit 1f7d4d8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions app/lib/services/quiz_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ class QuizService {
// }

// check apakah user sudah registered minggu ini
// final participation = await db
// .collection('weekly_quiz_participation')
// .where('quiz_title', isEqualTo: snapshot['title'])
// .where('user_uid', isEqualTo: currentUserUID)
// .get();
// if (participation.size > 0) {
// return;
// }

try {
await db.collection('weekly_quiz_participation').doc().set({
Expand Down

0 comments on commit 1f7d4d8

Please sign in to comment.