diff --git a/src/api.rs b/src/api.rs index 89d1ffb..b589c25 100644 --- a/src/api.rs +++ b/src/api.rs @@ -89,7 +89,10 @@ fn query_tags(repo: &str, owner: &str) -> Result { headers.insert(USER_AGENT, HeaderValue::from_str("flake-edit").unwrap()); if let Some(token) = get_gh_token() { tracing::debug!("Found github token."); - headers.insert("authorization: Bearer", HeaderValue::from_str(&token).unwrap()); + headers.insert( + "authorization: Bearer", + HeaderValue::from_str(&token).unwrap(), + ); tracing::debug!("Settings github token."); } let body = client