Skip to content

outputFormat not working, found a solution #66

@discogsPerson

Description

@discogsPerson

I didn't manage to use "setConfig({outputFormat: 'plaintext'})", and it works for me after changing
'Accept': 'application/json,application/vnd.discogs.' + [...]
to
'Accept': 'application/vnd.discogs.' + [...]
in node_modules/disconnect/lib/client.js

I'm a total noob at node and coding in general so I'm not sure what's going on, maybe I just didn't use setConfig the right way ? Is it working for anyone without this modification ? Also, I don't know what the part I deleted (json.application/) does. It's not in the discogs api documentation (neither is "application/octet-stream" at the end of the line but i didn't change that).
See https://www.discogs.com/developers#page:home,header:home-versioning-and-media-types

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions