groups.addContacts() endpoint gives Resource not found error
harryjamesuk opened this issue · 1 comments
harryjamesuk commented
Code sample:
messagebird.groups.addContacts(
"group-id",
["first-id"],
(e, res) => callback(e, res)
)
Will call HTTP GET /groups/group-id?_method=PUT&ids[]=first-id
which fails with a Resource not found error
and status code 404.
Expected result is status code 204 No Content.
aodinok commented
Hey @harryjamesuk
Thank you for reporting and fixing this!
I merged your MR and release a new version: v.3.7.1