Skip to content

Commit 17c0608

Browse files
committed
Bad Content-type Header
1 parent 4c88683 commit 17c0608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/SpotifyConnect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class SpotifyConnect {
2323
getAccessToken(authToken) {
2424
const headers = {
2525
Authorization: 'Basic ' + new Buffer(this.clientId + ':' + this.clientSecret).toString('base64'),
26-
'Content-Type': 'application/x-www-form-urlencoded charset=UTF-8',
26+
'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
2727
}
2828
const params = {
2929
grant_type : 'authorization_code',

0 commit comments

Comments
 (0)