Skip to content

Commit

Permalink
Fix PR update URL
Browse files Browse the repository at this point in the history
  • Loading branch information
elegaanz committed Sep 25, 2024
1 parent 2ccfc45 commit 7c36d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/github/api/pr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ impl GitHub<AuthInstallation> {
pr: usize,
update: PullRequestUpdate,
) -> Result<PullRequest, ApiError> {
self.patch(format!("{}/{}/pulls/{}", owner, repo, pr))
self.patch(format!("repos/{}/{}/pulls/{}", owner, repo, pr))
.json(&update)
.send()
.await?
Expand Down

0 comments on commit 7c36d2f

Please sign in to comment.