Skip to content

Commit

Permalink
Update login authentication header (crunchy-labs/crunchy-cli#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
bytedream committed Jan 9, 2024
1 parent 8da7f17 commit 0990462
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crunchyroll.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ mod auth {
body.extend_from_slice(&[("device_type", d_type)])
}
let resp = client.post(endpoint)
.header(header::AUTHORIZATION, "Basic aHJobzlxM2F3dnNrMjJ1LXRzNWE6cHROOURteXRBU2Z6QjZvbXVsSzh6cUxzYTczVE1TY1k=")
.header(header::AUTHORIZATION, "Basic b2VkYXJteHN0bGgxanZhd2ltbnE6OWxFaHZIWkpEMzJqdVY1ZFc5Vk9TNTdkb3BkSnBnbzE=")
.header(header::CONTENT_TYPE, "application/x-www-form-urlencoded")
.body(serde_urlencoded::to_string(body).unwrap())
.send()
Expand Down Expand Up @@ -363,7 +363,7 @@ mod auth {
body.extend_from_slice(&[("device_type", d_type)])
}
let resp = client.post(endpoint)
.header(header::AUTHORIZATION, "Basic aHJobzlxM2F3dnNrMjJ1LXRzNWE6cHROOURteXRBU2Z6QjZvbXVsSzh6cUxzYTczVE1TY1k=")
.header(header::AUTHORIZATION, "Basic b2VkYXJteHN0bGgxanZhd2ltbnE6OWxFaHZIWkpEMzJqdVY1ZFc5Vk9TNTdkb3BkSnBnbzE=")
.header(header::CONTENT_TYPE, "application/x-www-form-urlencoded")
.body(serde_urlencoded::to_string(body).unwrap())
.send()
Expand Down

0 comments on commit 0990462

Please sign in to comment.