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
LinkinStar51e1c483f6ef
diff --git a/internal/schema/siteinfo_schema.go b/internal/schema/siteinfo_schema.goindex 70be00ba..446b986d 100644--- a/internal/schema/siteinfo_schema.go+++ b/internal/schema/siteinfo_schema.go@@ -12,7 +12,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