fix: switch arguments in UpdateFromTumblr

This commit is contained in:
sam 2023-04-18 15:48:09 +00:00
parent 716c1283e7
commit 8588da8b80

View file

@ -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)
}