diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 715da12..68f4914 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py @@ -965,9 +965,9 @@ class Mastodon: response_object = None try: if method == 'GET': - response_object = requests.get(self.api_base_url + endpoint, data=params, headers=headers, - files=files, timeout=self.request_timeout) - + response_object = requests.get(self.api_base_url + endpoint, params=params, + headers=headers, files=files, + timeout=self.request_timeout) if method == 'POST': response_object = requests.post(self.api_base_url + endpoint, data=params, headers=headers, files=files, timeout=self.request_timeout)