diff --git a/iterablepythonwrapper/client.py b/iterablepythonwrapper/client.py index a53c0d9..568bc9d 100644 --- a/iterablepythonwrapper/client.py +++ b/iterablepythonwrapper/client.py @@ -1611,7 +1611,7 @@ def update_subscriptions(self, email, email_list_ids=None, payload["email"]= email if email_list_ids is not None: - payload["emailListIds"] + payload["emailListIds"] = email_list_ids if unsubscribed_channel_ids is not None: payload["unsubscribedChannelIds"]= unsubscribed_channel_ids @@ -1719,4 +1719,4 @@ def trigger_workflow(self, workflow_id, email=None, - \ No newline at end of file +