Skip to content

Commit

Permalink
fix: Make sure to refresh access token when reading commit information
Browse files Browse the repository at this point in the history
  • Loading branch information
langecode committed Feb 26, 2024
1 parent 99dd2e3 commit d04e366
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/forge/bitbucketdatacenter/bitbucketdatacenter.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,8 @@ func (c *client) getUserAndRepo(ctx context.Context, r *model.Repo) (*model.User
}
log.Trace().Any("user", user).Msg("got user")

forge.Refresh(ctx, c, _store, user)

return user, repo, nil
}

Expand Down

0 comments on commit d04e366

Please sign in to comment.