Skip to content

Commit 9804a67

Browse files
Merge pull request #1373 from rylev/correct-url
Use correct url for posting comment
2 parents b1d998e + 2f50db4 commit 9804a67

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

site/src/github.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,10 @@ pub async fn post_finished(ctxt: &SiteCtxt) {
411411
///
412412
/// `is_master_commit` is used to differentiate messages for try runs and post-merge runs.
413413
async fn post_comparison_comment(ctxt: &SiteCtxt, commit: QueuedCommit, is_master_commit: bool) {
414-
let client = client::Client::from_ctxt(ctxt, "https://github.com/rust-lang/rust".to_owned());
414+
let client = client::Client::from_ctxt(
415+
ctxt,
416+
"https://api.github.com/repos/rust-lang/rust".to_owned(),
417+
);
415418
let pr = commit.pr;
416419
let body = match summarize_run(ctxt, commit, is_master_commit).await {
417420
Ok(message) => message,

0 commit comments

Comments
 (0)