SymphonyPlatformSolutions / symphony-api-client-node

Symphony API Client for NodeJS
MIT License
6 stars 20 forks source link

StreamsClient methods are not working #13

Closed lowkay closed 6 years ago

lowkay commented 6 years ago

Howdy,

Just tried using this and it appears as though the StreamsClient methods don't work. I've tracked this down to the fact that the body of the request isn't written to the server => a non-existent "body" property is set in the https options, when it should be written using request.write(data).

Additionally, the getUserIMStreamId needs to send a JSON array rather than an object of the form { userId }.

Thanks!

opoupeney commented 6 years ago

This issue has been fixed and merged into the master branch.