diff --git a/pkg/apistruct/msg.go b/pkg/apistruct/msg.go index 042d760b8..dea73cf74 100644 --- a/pkg/apistruct/msg.go +++ b/pkg/apistruct/msg.go @@ -171,7 +171,7 @@ type CustomElem struct { Extension string `mapstructure:"extension"` } type TextElem struct { - Text string `mapstructure:"text" validate:"required"` + Content string `mapstructure:"content" validate:"required"` } type RevokeElem struct {