update dependencies, correct breaking changes
This commit is contained in:
parent
d1bc7ff05c
commit
9b27282ee3
4 changed files with 109 additions and 35 deletions
|
|
@ -44,6 +44,7 @@ func (s *AuthStore) GetAccountByEmail(e string) (*pwdless.Account, error) {
|
|||
func (s *AuthStore) UpdateAccount(a *pwdless.Account) error {
|
||||
_, err := s.db.Model(a).
|
||||
Column("last_login").
|
||||
WherePK().
|
||||
Update()
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue