SymphonyPlatformSolutions / symphony-api-client-node

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

Fix getUserIMStreamId #36

Closed leoramme closed 5 years ago

leoramme commented 5 years ago

The default method fails no matter how you declare the userIDs.

I have found that the example available at the official documentation only writes the serialized list, instead of a JSON object. Doing the same thing here fixes this problem.

https://github.com/SymphonyPlatformSolutions/symphony-api-client-node/issues/35

leoramme commented 5 years ago

Example available at https://rest-api.symphony.com/reference#create-im-or-mim: curl https://acme.symphony.com/pod/v1/im/create -H "sessionToken: SESSION_TOKEN" -H "Content-Type: application/json" -X POST -d "[7215545078541, 7215545078461]"

opoupeney commented 5 years ago

Sorry, the problem has been identified and fixed at the same time you created your PR. It is fixed in the latest release 1.0.0