fix
This commit is contained in:
parent
310c3af9dc
commit
dc7b590977
|
@ -128,7 +128,7 @@ func (u *FsUserModel) RegisterByGoogleOAuth(ctx context.Context, token *auth.Reg
|
|||
|
||||
// 如果已经存在,把谷歌id 加入到用户信息里
|
||||
user.GoogleId = &googleId
|
||||
return tx.Model(&FsUser{}).Where("id = ?", user.Id).Update("google_id", user).Error
|
||||
return tx.Model(&FsUser{}).Where("id = ?", user.Id).Update("google_id", googleId).Error
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user