Skip to content

Commit

Permalink
fix: update user email error (#604)
Browse files Browse the repository at this point in the history
  • Loading branch information
icey-yu authored Oct 24, 2024
1 parent 0a9e5e7 commit ad305e6
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 ad305e6

Please sign in to comment.