now use worker ans repo in getting all ans dirty

This commit is contained in:
Pasha 2025-05-19 21:03:58 +03:00
parent 96665245ea
commit 81e98a8e3f

@ -140,7 +140,7 @@ func (w *SendToClient) processPendingAnswer(ctx context.Context) {
return
}
allAnswersDirty, err := w.dal.AnswerRepo.GetAllAnswersByQuizID(ctx, answer.Session)
allAnswersDirty, err := w.dal.WorkerAnsRepo.GetAllAnswersByQuizID(ctx, answer.Session)
fmt.Println("ANS4", err)
if err != nil {
w.reportError(err, "Error getting all answers by quizID")