Skip to content

orderStatus returns 404 after a buyLimit #3

@DoobleD

Description

@DoobleD

Hi,

Thanks for the node module. There seems to be some troubles when chaining calls. For instance if I do a buyLimit, followed by an orderStatus, the orderStatus response is a 404 not found. This is due to the fact that the orderStatus is sent as a POST request, instead of a GET request. If I change it to a GET request, I then get another 400 error, saying the request is malformed.

I think the problem comes when doing

let opt = defaultRequestOpt;

and then modifying opt, it seems to actually modify the original defaultRequestOpt object. So each method call modifies it and every call after is afected by the previous values.

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