Skip to content

Commit

Permalink
fixed typo in header
Browse files Browse the repository at this point in the history
  • Loading branch information
KCaverly committed Dec 7, 2023
1 parent 92800b0 commit 68b3fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/predictions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ impl Prediction {
let client = reqwest::Client::new();
let stream = client
.get(stream_url)
.header("Autorization", format!("Token {api_key}"))
.header("Authorization", format!("Token {api_key}"))
.header("Accept", "text/event-stream")
.send()
.await?
Expand Down

0 comments on commit 68b3fdc

Please sign in to comment.