1
0
mirror of https://github.com/ihabunek/toot synced 2024-12-23 15:37:47 +01:00

Use SCOPES const

This commit is contained in:
kakakaya 2018-03-06 00:10:34 +09:00 committed by Ivan Habunek
parent 6c46f19bee
commit 09a138ba27
No known key found for this signature in database
GPG Key ID: CDBD63C43A30BB95

View File

@ -55,7 +55,7 @@ def get_browser_login_url(app):
return "{}/oauth/authorize/?{}".format(app.base_url, urlencode({
"response_type": "code",
"redirect_uri": "urn:ietf:wg:oauth:2.0:oob",
"scope": "read write follow",
"scope": SCOPES,
"client_id": app.client_id,
}))