diff --git a/internal/answerwc/to_client.go b/internal/answerwc/to_client.go index b3e3073..c3e34b1 100644 --- a/internal/answerwc/to_client.go +++ b/internal/answerwc/to_client.go @@ -146,9 +146,9 @@ func (w *SendToClient) processPendingAnswer(ctx context.Context) { w.reportError(err, "Error getting all answers by quizID") return } - //allAnswers := wctools.CleanNullContent(allAnswersDirty) + allAnswers := wctools.CleanNullContent(allAnswersDirty) - questionsMap, sortedallAnswers, err := w.dal.QuestionRepo.GetMapQuestions(ctx, allAnswersDirty) + questionsMap, sortedallAnswers, err := w.dal.QuestionRepo.GetMapQuestions(ctx, allAnswers) fmt.Println("ANS5", err) if err != nil { w.reportError(err, "Error getting questionsMap")