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.
2 parents 0fcf37c + d36654a commit 0b32381Copy full SHA for 0b32381
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