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: remove time zone check
LinkinStare30eaecee49f
diff --git a/internal/schema/siteinfo_schema.go b/internal/schema/siteinfo_schema.goindex 6184a3c3..85a643ed 100644--- a/internal/schema/siteinfo_schema.go+++ b/internal/schema/siteinfo_schema.go@@ -27,7 +27,7 @@ type SiteInterfaceReq struct {Logo string `validate:"omitempty,gt=0,lte=256" form:"logo" json:"logo"`Theme string `validate:"required,gt=1,lte=128" form:"theme" json:"theme"`Language string `validate:"required,gt=1,lte=128" form:"language" json:"language"`- TimeZone string `validate:"required,gt=1,lte=128,timezone" form:"time_zone" json:"time_zone"`+ TimeZone string `validate:"required,gt=1,lte=128" form:"time_zone" json:"time_zone"`}// SiteGeneralResp site general response