using imports.py on all external APIs
This commit is contained in:
@@ -48,13 +48,7 @@ oauth_data = {
|
||||
|
||||
# Exchange access code for long-lived access token
|
||||
def get_token(code):
|
||||
(
|
||||
thetoken, expires_in, refresh_token
|
||||
) = imports_get_token(code, oauth_data)
|
||||
|
||||
|
||||
|
||||
return [thetoken]
|
||||
return imports_get_token(code, oauth_data)
|
||||
|
||||
# Make authorization URL including random string
|
||||
def make_authorization_url(request):
|
||||
|
||||
Reference in New Issue
Block a user