NTP-13111 : Skip user email updatation based on recent slack contract (#487)
This commit is contained in:
@@ -9,10 +9,6 @@ func UpdateUserFieldsIfChanged(existingUser *user.UserEntity, newUser *user.User
|
||||
existingUser.Name = newUser.Name
|
||||
isChanged = true
|
||||
}
|
||||
if existingUser.Email != newUser.Email {
|
||||
existingUser.Email = newUser.Email
|
||||
isChanged = true
|
||||
}
|
||||
if existingUser.Image != newUser.Image {
|
||||
existingUser.Image = newUser.Image
|
||||
isChanged = true
|
||||
|
||||
Reference in New Issue
Block a user