Skip to content

Commit

Permalink
Kingosticks change: Obtain spclient access token using login5 instead…
Browse files Browse the repository at this point in the history
… of keymaster (Fixes librespot-org#1179)
  • Loading branch information
Gerrelt committed Dec 4, 2023
1 parent a54cc8f commit f815318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,8 @@ impl Session {
self.0.data.read().auth_blob.clone()
}

pub fn set_auth_blob(&self, auth_blob: &Vec<u8>) {
self.0.data.write().auth_blob = auth_blob.clone();
pub fn set_auth_blob(&self, auth_blob: &[u8]) {
self.0.data.write().auth_blob = auth_blob.to_owned();
}

pub fn country(&self) -> String {
Expand Down

0 comments on commit f815318

Please sign in to comment.