Skip to content

Commit

Permalink
cuddlemania
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3r committed Jan 18, 2024
1 parent 7b7e654 commit 61e4c32
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scm/github/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ func (c *client) GetBranch(ctx context.Context, u *library.User, r *library.Repo
client := c.newClientToken(u.GetToken())

maxRedirects := 3

data, _, err := client.Repositories.GetBranch(ctx, r.GetOrg(), r.GetName(), branch, maxRedirects)
if err != nil {
return "", "", err
Expand Down

0 comments on commit 61e4c32

Please sign in to comment.