We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ba293e commit 82dd993Copy full SHA for 82dd993
1 file changed
backend/app/service/website.go
@@ -427,7 +427,9 @@ func (w WebsiteService) UpdateWebsite(req request.WebsiteUpdate) error {
427
}
428
429
website.PrimaryDomain = req.PrimaryDomain
430
- website.WebsiteGroupID = req.WebsiteGroupID
+ if req.WebsiteGroupID > 0 {
431
+ website.WebsiteGroupID = req.WebsiteGroupID
432
+ }
433
website.Remark = req.Remark
434
website.IPV6 = req.IPV6
435
0 commit comments