code format

This commit is contained in:
MaysWind
2021-04-05 01:45:09 +08:00
parent 7b51584c7c
commit e34e55eac7
5 changed files with 38 additions and 38 deletions
+2 -2
View File
@@ -132,8 +132,8 @@ func (a *UsersApi) UserUpdateProfileHandler(c *core.Context) (interface{}, *errs
anythingUpdate := false
userNew := &models.User{
Uid: user.Uid,
Salt: user.Salt,
Uid: user.Uid,
Salt: user.Salt,
}
if userUpdateReq.Email != "" && userUpdateReq.Email != user.Email {