Improve record's User field.

This commit is contained in:
Gucheng Wang
2021-11-07 17:20:15 +08:00
parent 77fffcacac
commit 5ec678fa28
3 changed files with 6 additions and 6 deletions

View File

@ -62,7 +62,7 @@ func RecordMessage(ctx *context.Context) {
userId := getUser(ctx)
if userId != "" {
record.Organization, record.Username = util.GetOwnerAndNameFromId(userId)
record.Organization, record.User = util.GetOwnerAndNameFromId(userId)
}
object.AddRecord(record)