mailerlite / mailerlite-nodejs

MIT License
32 stars 7 forks source link

cannot search group by name #39

Closed volodyad closed 1 year ago

volodyad commented 1 year ago

when I try to search group by name await this.client.groups.get({ filter: { name: groupName }, } as any);

I cannot do this, as filter parameter allows only sent, draft or ready, which is no correct, according to api I should be able to provide group name interface GetParams$2 { filter?: { name?: "sent" | "draft" | "ready"; }; }

Mantas97 commented 1 year ago

Fixed and released in v1.2.0