Skip to content

Commit

Permalink
Fix app installations endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
risset committed Jun 10, 2024
1 parent 05e4771 commit 261b10d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -1932,7 +1932,7 @@ func (git *repoSync) RefreshGitHubAppToken(ctx context.Context, githubBaseURL, p
return err
}

url, err := url.JoinPath(githubBaseURL, fmt.Sprintf("installations/%d/access_tokens", installationID))
url, err := url.JoinPath(githubBaseURL, fmt.Sprintf("app/installations/%d/access_tokens", installationID))
if err != nil {
return err
}
Expand Down

0 comments on commit 261b10d

Please sign in to comment.