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.

fix

aichy126cacb9783b861
diff --git a/internal/schema/question_schema.go b/internal/schema/question_schema.go
index b6b5d0c0..8efb61b9 100644
--- a/internal/schema/question_schema.go
+++ b/internal/schema/question_schema.go
@@ -36,7 +36,7 @@ type QuestionAdd struct {
type CheckCanQuestionUpdate struct {
// question id
- ID string `validate:"required" json:"id"`
+ ID string `validate:"required" form:"id"`
// user id
UserID string `json:"-"`
IsAdmin bool `json:"-"`