We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f9f317 commit 37c646dCopy full SHA for 37c646d
site/src/request_handlers/github.rs
@@ -145,8 +145,10 @@ async fn handle_rust_timer(
145
comment: github::Comment,
146
issue: github::Issue,
147
) -> ServerResult<github::Response> {
148
- let main_repo_client =
149
- client::Client::from_ctxt(&ctxt, "https://github.com/rust-lang/rust".to_owned());
+ let main_repo_client = client::Client::from_ctxt(
+ &ctxt,
150
+ "https://api.github.com/repos/rust-lang/rust".to_owned(),
151
+ );
152
if comment.author_association != github::Association::Owner
153
&& !get_authorized_users().await?.contains(&comment.user.id)
154
{
0 commit comments