diff --git a/server/public/model/custom_profile_attributes.go b/server/public/model/custom_profile_attributes.go index 51a987cde27..8839ad07b74 100644 --- a/server/public/model/custom_profile_attributes.go +++ b/server/public/model/custom_profile_attributes.go @@ -63,13 +63,13 @@ func NewCustomProfileAttributesSelectOptionFromMap(m map[string]any) CustomProfi name := "" color := "" - if v, ok := m["name"]; ok { + if v, ok := m["Name"]; ok { if vStr, ok := v.(string); ok { name = vStr } } - if v, ok := m["color"]; ok { + if v, ok := m["Color"]; ok { if vStr, ok := v.(string); ok { color = vStr }