fix: switch arguments in UpdateFromTumblr
This commit is contained in:
parent
716c1283e7
commit
8588da8b80
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ func (s *Server) tumblrCallback(w http.ResponseWriter, r *http.Request) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
err = u.UpdateFromTumblr(ctx, s.DB, tumblrName, tumblrID)
|
||||
err = u.UpdateFromTumblr(ctx, s.DB, tumblrID, tumblrName)
|
||||
if err != nil {
|
||||
log.Errorf("updating user %v with Tumblr info: %v", u.ID, err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue