[MM-29937] Don't allow email and contact name to be updated from the MM app (#16058)
* [MM-29937] Don't allow email and contact name to be updated from the MM app * Switched to use omitempty
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
910de96a33
Коммит
79b5350576
@@ -45,9 +45,9 @@ type CloudCustomer struct {
|
||||
// CloudCustomerInfo represents editable info of a customer.
|
||||
type CloudCustomerInfo struct {
|
||||
Name string `json:"name"`
|
||||
Email string `json:"email"`
|
||||
ContactFirstName string `json:"contact_first_name"`
|
||||
ContactLastName string `json:"contact_last_name"`
|
||||
Email string `json:"email,omitempty"`
|
||||
ContactFirstName string `json:"contact_first_name,omitempty"`
|
||||
ContactLastName string `json:"contact_last_name,omitempty"`
|
||||
NumEmployees int `json:"num_employees"`
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user