From: Calin Crisan <ccrisan@gmail.com>
Date: Sat, 2 Jul 2016 10:06:04 +0000 (+0300)
Subject: dropbox: updated urls to API v2
X-Git-Url: http://www.vanbest.org/gitweb/?a=commitdiff_plain;h=c90dc4d4a3bd7ea4f9b5ad91b17e4132df988387;p=motioneye-debian

dropbox: updated urls to API v2
---

diff --git a/motioneye/uploadservices.py b/motioneye/uploadservices.py
index 1110389..27834a9 100644
--- a/motioneye/uploadservices.py
+++ b/motioneye/uploadservices.py
@@ -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'