Skip to content

Commit

Permalink
Do not issue query to get GH username
Browse files Browse the repository at this point in the history
This is a temporary fix for the GitHub API problems we're having currently.
  • Loading branch information
Mark-Simulacrum committed May 22, 2020
1 parent fcbcc52 commit 8172548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Expand Up @@ -190,7 +190,7 @@ async fn run_server(addr: SocketAddr) -> anyhow::Result<()> {
.build()
.expect("Failed to build octograb.");
let ctx = Arc::new(Context {
username: github::User::current(&gh).await.unwrap().login,
username: String::from("rustbot"),
db: db_client,
github: gh,
octocrab: oc,
Expand Down

0 comments on commit 8172548

Please sign in to comment.