now use worker ans repo in getting all ans dirty
This commit is contained in:
parent
96665245ea
commit
81e98a8e3f
@ -140,7 +140,7 @@ func (w *SendToClient) processPendingAnswer(ctx context.Context) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
allAnswersDirty, err := w.dal.AnswerRepo.GetAllAnswersByQuizID(ctx, answer.Session)
|
allAnswersDirty, err := w.dal.WorkerAnsRepo.GetAllAnswersByQuizID(ctx, answer.Session)
|
||||||
fmt.Println("ANS4", err)
|
fmt.Println("ANS4", err)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
w.reportError(err, "Error getting all answers by quizID")
|
w.reportError(err, "Error getting all answers by quizID")
|
||||||
|
Loading…
Reference in New Issue
Block a user