Преглед на файлове

Do not issue query to get GH username

This is a temporary fix for the GitHub API problems we're having currently.
Mark Rousskov преди 5 години
родител
ревизия
8172548b81
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main.rs

+ 1 - 1
src/main.rs

@@ -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,