Skip to content

Commit

Permalink
fix: update user email error
Browse files Browse the repository at this point in the history
  • Loading branch information
icey-yu committed Oct 24, 2024
1 parent fca46b8 commit fa15943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rpc/chat/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func ToDBCredentialUpdate(req *chat.UpdateUserInfoReq, allowChange bool) ([]*cha
} else {
update = append(update, &chatdb.Credential{
UserID: req.UserID,
Account: req.Account.GetValue(),
Account: req.Email.GetValue(),
Type: constant.CredentialEmail,
AllowChange: allowChange,
})
Expand Down

0 comments on commit fa15943

Please sign in to comment.