fix: fix the problem of link error (#923)

This commit is contained in:
q1anx1
2022-07-28 21:52:10 +08:00
committed by GitHub
parent 8865244262
commit 3dd56195d9

View File

@ -106,6 +106,10 @@ func setUserProperty(user *User, field string, value string) {
if value == "" {
delete(user.Properties, field)
} else {
if user.Properties == nil {
user.Properties = make(map[string]string)
}
user.Properties[field] = value
}
}