Merge pull request #37 from azillion/azillion/fix-35
Add scope param to log_in(), resolves issue #35
This commit is contained in:
commit
49872d849d
S'han modificat 1 arxius amb 1 adicions i 0 eliminacions
|
@ -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)
|
||||
|
|
Loading…
Referencia en una nova incidència