diff options
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/Mastodon.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py index 310dc68..a1416c5 100644 --- a/mastodon/Mastodon.py +++ b/mastodon/Mastodon.py | |||
@@ -211,6 +211,7 @@ class Mastodon: | |||
211 | 211 | ||
212 | params['client_id'] = self.client_id | 212 | params['client_id'] = self.client_id |
213 | params['client_secret'] = self.client_secret | 213 | params['client_secret'] = self.client_secret |
214 | params['scope'] = " ".join(scopes) | ||
214 | 215 | ||
215 | try: | 216 | try: |
216 | response = self.__api_request('POST', '/oauth/token', params, do_ratelimiting = False) | 217 | response = self.__api_request('POST', '/oauth/token', params, do_ratelimiting = False) |