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 d5e723c commit 79a2fe1Copy full SHA for 79a2fe1
src/bin/reporter.rs
@@ -135,7 +135,7 @@ async fn metric_watcher(config: &Config) {
135
let mut claims = BTreeMap::new();
136
claims.insert("stackmon", "dummy");
137
let token_str = claims.sign_with_key(&key).unwrap();
138
- let bearer = format!("bearer {}", token_str);
+ let bearer = format!("Bearer {}", token_str);
139
headers.insert(AUTHORIZATION, bearer.parse().unwrap());
140
}
141
loop {
0 commit comments