bartve / disconnect

An easy to use Node.js client with OAuth support to connect with the discogs.com API v2.0
MIT License
458 stars 79 forks source link

Fix outputFormat #67

Closed workeffortwaste closed 3 years ago

bartve commented 3 years ago

Ehh according to https://www.ietf.org/rfc/rfc4627.txt the type is application/json not just json. Also checked other sources that confirm this. Or did I miss something?

workeffortwaste commented 3 years ago

Oops, you're right.

I meant to remove application/json in its entirety from the header string. As with it in the header it's not actually returning the plaintext and html versions of the profiles.