Skip to content

Commit b6f50cf

Browse files
Create references in rust-timer repository
1 parent bb01a71 commit b6f50cf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/src/github.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ pub async fn handle_github(
104104
&request.comment.html_url,
105105
)
106106
.await
107-
.map_err(|e| e.to_string())?;
107+
.map_err(|e| format!("{:?}", e))?;
108108
}
109109
}
110110

@@ -239,7 +239,7 @@ async fn branch_for_rollup(
239239
let revert_sha = create_commit(
240240
&client,
241241
&data,
242-
repository_url,
242+
"https://api.github.com/repos/rust-timer/rust",
243243
&format!("Revert to {}", old_master_commit.sha),
244244
&old_master_commit.commit.tree.sha,
245245
&[&current_master_commit.sha],
@@ -250,7 +250,7 @@ async fn branch_for_rollup(
250250
let merge_sha = create_commit(
251251
&client,
252252
&data,
253-
repository_url,
253+
"https://api.github.com/repos/rust-timer/rust",
254254
&format!(
255255
"rust-timer simulated merge of {}\n\nOriginal message:\n{}",
256256
rollup_merge.sha, rollup_merge.commit.message
@@ -283,7 +283,7 @@ async fn branch_for_rollup(
283283
create_ref(
284284
&client,
285285
&data,
286-
repository_url,
286+
"https://api.github.com/repos/rust-timer/rust",
287287
&format!("refs/heads/{}", branch),
288288
&merge_sha,
289289
)

0 commit comments

Comments
 (0)