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 SiteBranding
aichy1268f4a4ca985c1
diff --git a/internal/schema/siteinfo_schema.go b/internal/schema/siteinfo_schema.goindex a05c10c4..6912c70c 100644--- a/internal/schema/siteinfo_schema.go+++ b/internal/schema/siteinfo_schema.go@@ -46,9 +46,9 @@ type SiteInterfaceReq struct {// SiteBrandingReq site branding requesttype SiteBrandingReq struct {- Logo string `validate:"required,gt=0,lte=512" form:"logo" json:"logo"`+ Logo string `validate:"omitempty,gt=0,lte=512" form:"logo" json:"logo"`MobileLogo string `validate:"omitempty,gt=0,lte=512" form:"mobile_logo" json:"mobile_logo"`- SquareIcon string `validate:"required,gt=0,lte=512" form:"square_icon" json:"square_icon"`+ SquareIcon string `validate:"omitempty,gt=0,lte=512" form:"square_icon" json:"square_icon"`Favicon string `validate:"omitempty,gt=0,lte=512" form:"favicon" json:"favicon"`}