diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-03-03 13:50:49 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-03-03 13:50:49 +0000 |
commit | 5357bfc0d1ca654ae51f71ca67a8faad0d5b5264 (patch) | |
tree | 343ced32fc7290e72e4b2c952b1f159eb8e3d1cc /plugins/Dropbox/src/api | |
parent | 0e3a293ce9f7b361b0d5d9528738d596dfe4d565 (diff) |
Dropbox: new service pt. 1
git-svn-id: http://svn.miranda-ng.org/main/trunk@16403 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/api')
-rw-r--r-- | plugins/Dropbox/src/api/account.h | 4 | ||||
-rw-r--r-- | plugins/Dropbox/src/api/operations.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Dropbox/src/api/account.h b/plugins/Dropbox/src/api/account.h index 2842804dcc..98ba370abe 100644 --- a/plugins/Dropbox/src/api/account.h +++ b/plugins/Dropbox/src/api/account.h @@ -16,14 +16,14 @@ public: }
};
-/*class DisableAccessTokenRequest : public HttpRequest
+class DisableAccessTokenRequest : public HttpRequest
{
public:
DisableAccessTokenRequest() :
HttpRequest(REQUEST_POST, DROPBOX_API_OLD "/disable_access_token")
{
}
-};*/
+};
class GetCurrentAccountRequest : public HttpRequest
{
diff --git a/plugins/Dropbox/src/api/operations.h b/plugins/Dropbox/src/api/operations.h index cdd35223e4..01f428c88a 100644 --- a/plugins/Dropbox/src/api/operations.h +++ b/plugins/Dropbox/src/api/operations.h @@ -102,7 +102,7 @@ public: AddHeader("Content-Type", "application/json");
JSONNode root(JSON_NODE);
- root << JSONNode("path", "");
+ root << JSONNode("path", path);
json_string data = root.write();
SetData(data.c_str(), data.length());
|