Private
Public Access
1
0

using imports.py on all external APIs

This commit is contained in:
Sander Roosendaal
2018-07-04 16:29:01 +02:00
parent 45a6300c76
commit 6723194a30
9 changed files with 76 additions and 293 deletions

View File

@@ -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):