update sqlc gen
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user