Skip to content

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.

update question

aichy1269d3b39182018
diff --git a/internal/controller/question_controller.go b/internal/controller/question_controller.go
index a12a7523..1c36e974 100644
--- a/internal/controller/question_controller.go
+++ b/internal/controller/question_controller.go
@@ -159,6 +159,7 @@ func (qc *QuestionController) GetQuestion(ctx *gin.Context) {
handler.HandleResponse(ctx, err, nil)
return
}
+ info.ID = uid.EnShortID(info.ID)
handler.HandleResponse(ctx, nil, info)
}