Skip to content

Commit 6436344

Browse files
committed
Bugfix: query_params should be an object
1 parent 82fee71 commit 6436344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

batch_mailchimp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def request(self, method, url, query_params=None, headers=None, body=None):
7272
"operation_id": uuid.uuid4().hex,
7373
}
7474
if query_params:
75-
operation["params"] = query_params
75+
operation["params"] = dict(query_params)
7676
if body:
7777
operation["body"] = json.dumps(body)
7878

0 commit comments

Comments
 (0)