Fix org contact email not clearable once set (#36975)
When the email field was submitted as empty in org settings (web and API), the previous guard `if form.Email != ""` silently skipped the update, making it impossible to remove a contact email after it was set. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
2
templates/swagger/v1_json.tmpl
generated
2
templates/swagger/v1_json.tmpl
generated
@@ -24855,7 +24855,7 @@
|
||||
"x-go-name": "Description"
|
||||
},
|
||||
"email": {
|
||||
"description": "The email address of the organization",
|
||||
"description": "The email address of the organization; use empty string to clear",
|
||||
"type": "string",
|
||||
"x-go-name": "Email"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user