From 69bcb7109121b97dc49f2f3f9f5d53bf86f082aa Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sat, 1 Jan 2022 16:27:31 -0500 Subject: [PATCH] Get all types of transaction --- memberPlumbing/MembershipWorks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memberPlumbing/MembershipWorks.py b/memberPlumbing/MembershipWorks.py index fbc0d0e..2349103 100644 --- a/memberPlumbing/MembershipWorks.py +++ b/memberPlumbing/MembershipWorks.py @@ -210,7 +210,7 @@ class MembershipWorks: r = self._get_v1( BASE_URL + "/v1/csv", params={ - "crm": "12,13,14,18,19", # transaction types, see CRM + "crm": ",".join(str(k) for k in CRM.keys()), **({"txl": ""} if json else {}), "sdp": start_date.strftime("%s"), "edp": end_date.strftime("%s"),