diff options
Diffstat (limited to 'plugins/Dropbox/src/api/account.h')
-rw-r--r-- | plugins/Dropbox/src/api/account.h | 8 |
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")
{
}
};
|