A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
hot fix pq short id
aichy1265884ec04d9ea
diff --git a/internal/controller/template_controller.go b/internal/controller/template_controller.goindex cf9dd5ee..c05c013f 100644--- a/internal/controller/template_controller.go+++ b/internal/controller/template_controller.go@@ -277,9 +277,11 @@ func (tc *TemplateController) QuestionInfo(ctx *gin.Context) {}// comments- objectIDs := []string{id}++ objectIDs := []string{uid.DeShortID(id)}for _, answer := range answers {- objectIDs = append(objectIDs, answer.ID)+ answerID := uid.DeShortID(answer.ID)+ objectIDs = append(objectIDs, answerID)}comments, err := tc.templateRenderController.CommentList(ctx, objectIDs)if err != nil {