Add scope param to log_in(), resolves issue #35

pull/37/head
Ansem 2017-04-20 14:32:40 +00:00
rodzic 2dfa8d3a37
commit 61f014f322
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -211,6 +211,7 @@ class Mastodon:
params['client_id'] = self.client_id
params['client_secret'] = self.client_secret
params['scope'] = " ".join(scopes)
try:
response = self.__api_request('POST', '/oauth/token', params, do_ratelimiting = False)