diff --git a/src/main.rs b/src/main.rs index 61988d1..12ef07d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -79,7 +79,7 @@ async fn actual_main() -> Result<()> { let github = { let mut builder = octocrab::OctocrabBuilder::new(); if let Some(token) = cli_app.github_token { - builder = builder.personal_token(token.into()); + builder = builder.personal_token(token); } octocrab::initialise(builder) }?;