We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98db180 commit d36654aCopy full SHA for d36654a
1 file changed
apis/question.go
@@ -94,7 +94,7 @@ func RetrieveQuestions(c *fiber.Ctx) (err error) {
94
return common.InternalServerError("[retrieve questions]: number of questions too small")
95
}
96
97
- copy(tmpQuestions, requiredQuestions)
+ tmpQuestions = append(tmpQuestions, requiredQuestions...)
98
99
jsonTmpQuestions, _ := json.Marshal(questionConfig)
100
log.Debug().Msgf("questionsResponse: %s", string(jsonTmpQuestions))
0 commit comments