From 81e98a8e3f15789a477cabdff9333cdcf876d81a Mon Sep 17 00:00:00 2001 From: Pasha Date: Mon, 19 May 2025 21:03:58 +0300 Subject: [PATCH] now use worker ans repo in getting all ans dirty --- internal/answerwc/to_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/answerwc/to_client.go b/internal/answerwc/to_client.go index 47a1fe6..b3e3073 100644 --- a/internal/answerwc/to_client.go +++ b/internal/answerwc/to_client.go @@ -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")