diff --git a/backend/app/dto/request/nginx.go b/backend/app/dto/request/nginx.go index 4dc696d07ae5..2db3027ad3dc 100644 --- a/backend/app/dto/request/nginx.go +++ b/backend/app/dto/request/nginx.go @@ -15,7 +15,7 @@ type NginxScopeReq struct { type NginxConfigUpdate struct { Scope dto.NginxKey `json:"scope"` Operate string `json:"operate" validate:"required,oneof=add update delete"` - WebsiteID uint `json:"websiteId" validate:"required"` + WebsiteID uint `json:"websiteId"` Params interface{} `json:"params"` }