Skip to content

Commit

Permalink
(fix) remove orderBy
Browse files Browse the repository at this point in the history
  • Loading branch information
azai91 committed Dec 2, 2015
1 parent 49333e5 commit d52208c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
AUTH_URL = 'https://accounts.google.com/o/oauth2/auth?scope=%s&redirect_uri=%s&response_type=code&client_id=%s&access_type=offline&approval_prompt=force' % (SCOPE, REDIRECT_URI, CLIENT_ID)

TOKEN_URL = 'https://www.googleapis.com/oauth2/v3/token'
FILES_URL = 'https://www.googleapis.com/drive/v2/files?orderBy=lastViewedByMeDate+desc&fields=items'
FILES_URL = 'https://www.googleapis.com/drive/v2/files?fields=items'

CACHE_MAX_AGE = 60*60 # cache set to 1 hour
CACHE_MAX_AGE = 60*60*24*30 # cache set to 1 month

SETTINGS = {
'LOGIN' : {
Expand Down Expand Up @@ -40,8 +40,6 @@
}
}



OPTIONS = [
{
'title' : 'Search Google Drive',
Expand All @@ -53,7 +51,6 @@
}
]


ERRORS = {
'ConnectionError' : {
'title' : 'Error with connection',
Expand Down

0 comments on commit d52208c

Please sign in to comment.