fix(postres): Pass tuple of all_ids instead of an array

- Fixes failing build for postgres
This commit is contained in:
Suraj Shetty 2019-06-19 11:18:57 +05:30
parent b375ee9eef
commit b6c56ff94f

View file

@ -80,7 +80,7 @@ def send(recipients=None, sender=None, subject=None, message=None, text_content=
recipients = list(set(recipients))
cc = list(set(cc))
all_ids = recipients + cc
all_ids = tuple(recipients + cc)
unsubscribed = frappe.db.sql_list('''
SELECT