update sqlc gen

This commit is contained in:
Pavel 2024-04-07 14:04:41 +03:00
parent 9e923b7a2c
commit 561a997f4c

@ -147,7 +147,7 @@ func (r *StatisticsRepository) GetQuestionsStatistics(ctx context.Context, req D
if resp.Questions[questionTitle] == nil {
resp.Questions[questionTitle] = make(map[string]float64)
}
resp.Questions[questionTitle][row.AnswerContent.String] = row.QuestionsPercentage
resp.Questions[questionTitle][row.AnswerContent] = row.QuestionsPercentage
}
return resp, nil