zenvia / zenvia-sdk-node

Zenvia CPaaS SDK for Node.js
https://devs.zenvia.com/
MIT License
29 stars 5 forks source link

TypeError: Cannot read property 'forEach' of undefined #28

Closed theusmoreira closed 3 years ago

theusmoreira commented 3 years ago

I'm having problems with getTemplate and listTemplates functions. The channel parameter in client is not an array.

rafael-org commented 3 years ago

I took a look, and indeed it seems to be implemented incorrectly. I will see that we fix it.

victorshp commented 3 years ago

Hi Matheus, the issue was fixed and released successfully.

You may now download it through conventional means (npmjs.org). The latest release is v2.1.1.

Please tell us if you have any further issues. Thank you for your collaboration!