Skip to content

Commit

Permalink
fix: 解决 Openresty 性能调整保存报错的问题 (1Panel-dev#2919)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengkunwang223 authored Nov 13, 2023
1 parent cc2ed70 commit 84f77fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/dto/request/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down

0 comments on commit 84f77fe

Please sign in to comment.