Skip to content

Commit

Permalink
Capitalize token
Browse files Browse the repository at this point in the history
  • Loading branch information
jcdyer committed Aug 10, 2024
1 parent a9035fc commit e5915d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/listen/websocket.rs
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ impl<'a> WebsocketHandle {
.header("sec-websocket-version", "13");

let builder = if let Some(api_key) = builder.deepgram.api_key.as_deref() {
http_builder.header("authorization", format!("token {}", api_key))
http_builder.header("authorization", format!("Token {}", api_key))
} else {
http_builder
};
Expand Down

0 comments on commit e5915d2

Please sign in to comment.