Skip to content

Commit

Permalink
Update api for spotcast (Fixes custom-cards#56)
Browse files Browse the repository at this point in the history
Was getting errors about `transfer_playback` no longer an acceptable argument
  • Loading branch information
ProLoser authored Mar 29, 2020
1 parent d93b611 commit 8acd647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SpotifyCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export default class SpotifyCard extends Component {
const options = {
device_name: device,
uri: playlist.uri,
transfer_playback: this.state.currentPlayer != null,
force_playback: this.state.currentPlayer != null,
};

if (this.props.account) {
Expand Down

0 comments on commit 8acd647

Please sign in to comment.