Skip to content

Commit

Permalink
Quiz Update 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Swaraj9 committed Jun 7, 2024
1 parent df9b376 commit 7c440f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/screens/quizPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class _QuizPageState extends State<QuizPage> {

Future<void> getQuestions() async {
QuerySnapshot querySnapshot =
await FirebaseFirestore.instance.collection('questions').get();
await FirebaseFirestore.instance.collection('quiz_questions').get();
List<Map<String, dynamic>> ques = [];
for (var doc in querySnapshot.docs) {
if (doc["quiz"] != null) {
Expand Down

0 comments on commit 7c440f0

Please sign in to comment.