From 09a138ba27fa446da34cb79b3ecd7c9f2f1c5823 Mon Sep 17 00:00:00 2001 From: kakakaya Date: Tue, 6 Mar 2018 00:10:34 +0900 Subject: [PATCH] Use SCOPES const --- toot/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toot/api.py b/toot/api.py index 7d31367..479fc36 100644 --- a/toot/api.py +++ b/toot/api.py @@ -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, }))