Skip to content

Commit

Permalink
Made it so getQuizList doesn't hide any info (since it's staff only)
Browse files Browse the repository at this point in the history
  • Loading branch information
rotolonico committed Oct 12, 2024
1 parent ae039ee commit b1881f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/src/functions/quiz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ export const getQuizList = functions.https.onCall(async (_, context) => {

const questionListResponse: GenericResponse<Question[]> = await parseQuestionListRef(
quizData.questionList,
true
false
);

if (questionListResponse.error) {
Expand All @@ -439,7 +439,7 @@ export const getQuizList = functions.https.onCall(async (_, context) => {
talkId: quizData.talkId,
sponsorId: quizData.sponsorId,
maxScore: quizData.maxScore,
isOpen: null,
isOpen: quizData.isOpen,
questionList: questionList,
timerDuration: quizData.timerDuration,
};
Expand Down

0 comments on commit b1881f0

Please sign in to comment.