mailerlite / mailerlite-nodejs

MIT License
32 stars 7 forks source link

subscribers.get() Does not return groups as documented #35

Closed klcodanr closed 6 months ago

klcodanr commented 1 year ago

The Docs for the NodeJS SDK indicate that the call to subscribers.get() should return the list of group id's on each subscriber:

https://github.com/mailerlite/mailerlite-nodejs/blob/main/src/modules/subscribers/subscribers.module.ts

However, the groups attribute is not contained in the returned subscriber object:

image

I think this may actually be an issue with the API which also indicates that subscribers should return a list of group id's but does not either:

https://developers.mailerlite.com/docs/subscribers.html#list-all-subscribers image

Mantas97 commented 6 months ago

Fix released in 1.2.2