We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cce6528 commit 0db0587Copy full SHA for 0db0587
slackclient/slackrequest.py
@@ -91,7 +91,7 @@ def do(self, token, request="?", post_data=None, domain="slack.com", timeout=Non
91
# Convert any params which aren't integer, string or bool to JSON
92
# Example: `attachments` is a dict
93
for k, v in six.iteritems(post_data):
94
- if not isinstance(v, (six.string_types, six.integer_types, bool)):
+ if isinstance(v, (list, dict)):
95
post_data[k] = json.dumps(v)
96
97
# Submit the request
0 commit comments