]> www.vanbest.org Git - motioneye-debian/commitdiff
dropbox: updated urls to API v2
authorCalin Crisan <ccrisan@gmail.com>
Sat, 2 Jul 2016 10:06:04 +0000 (13:06 +0300)
committerCalin Crisan <ccrisan@gmail.com>
Sat, 2 Jul 2016 10:06:04 +0000 (13:06 +0300)
motioneye/uploadservices.py

index 1110389d2078a7937b3b3293c346e52b503afba0..27834a9cbe56a4a16429af4eba64c257bf64ba60 100644 (file)
@@ -386,8 +386,8 @@ class GoogleDrive(UploadService):
 class Dropbox(UploadService):
     NAME = 'dropbox'
     
-    AUTH_URL = 'https://www.dropbox.com/1/oauth2/authorize'
-    TOKEN_URL = 'https://api.dropboxapi.com/1/oauth2/token'
+    AUTH_URL = 'https://www.dropbox.com/oauth2/authorize'
+    TOKEN_URL = 'https://api.dropboxapi.com/oauth2/token'
 
     CLIENT_ID = 'dropbox_client_id_placeholder'
     CLIENT_NOT_SO_SECRET = 'dropbox_client_secret_placeholder'