Skip to content

Commit

Permalink
remove username and pw
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Jun Kit committed Oct 9, 2021
1 parent ea88e12 commit 1338786
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PlayerCore/src/spotify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ impl Spotify {
pub async fn new(sink_rx: Receiver<()>) -> Arc<Mutex<Spotify>> {
let session_config = SessionConfig::default();
let player_config = PlayerConfig::default();
let credentials = Credentials::with_password("***REMOVED***", "***REMOVED***");
// TODO: use env var for this, to be specified in the Xcode side somehow?
let credentials = Credentials::with_password("", "");

println!("Connecting...");
let session = Session::connect(session_config, credentials, None)
Expand Down

0 comments on commit 1338786

Please sign in to comment.