We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6f0ca30 + a11e398 commit 72f605fCopy full SHA for 72f605f
1 file changed
src/nordvpn/api/credentials.rs
@@ -22,7 +22,7 @@ pub fn get(token: String) -> Result<Credentials, Box<dyn std::error::Error>> {
22
let client = reqwest::blocking::Client::new();
23
let body: Credentials = client
24
.get("https://api.nordvpn.com/v1/users/services/credentials")
25
- .header("Authorization", format!("token:{}", token))
+ .header("Authorization", format!("Bearer token:{}", token))
26
.send()?
27
.json()?;
28
0 commit comments