summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/api/account.h
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-04-22 15:25:57 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-04-22 15:25:57 +0000
commit2db93e0b278176b4dd68e8565ddab139d86c6e7b (patch)
tree310c2aead02f759b5503cbd2ca9ce3f1857ff6c3 /plugins/Dropbox/src/api/account.h
parent7e45d8a15069e165f093d03824300591d7014653 (diff)
Dropbox: links will never be short
git-svn-id: http://svn.miranda-ng.org/main/trunk@16746 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/api/account.h')
-rw-r--r--plugins/Dropbox/src/api/account.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Dropbox/src/api/account.h b/plugins/Dropbox/src/api/account.h
index 98ba370abe..6943bd29c3 100644
--- a/plugins/Dropbox/src/api/account.h
+++ b/plugins/Dropbox/src/api/account.h
@@ -5,7 +5,7 @@ class GetAccessTokenRequest : public HttpRequest
{
public:
GetAccessTokenRequest(const char *requestToken) :
- HttpRequest(REQUEST_POST, DROPBOX_API_OLD "/oauth2/token")
+ HttpRequest(REQUEST_POST, DROPBOX_API "/oauth2/token")
{
AddHeader("Content-Type", "application/x-www-form-urlencoded");
@@ -16,11 +16,11 @@ public:
}
};
-class DisableAccessTokenRequest : public HttpRequest
+class RevokeAccessTokenRequest : public HttpRequest
{
public:
- DisableAccessTokenRequest() :
- HttpRequest(REQUEST_POST, DROPBOX_API_OLD "/disable_access_token")
+ RevokeAccessTokenRequest() :
+ HttpRequest(REQUEST_POST, DROPBOX_API "/oauth2/token/revoke")
{
}
};