Commit 485b6ea5 by Paweł Wegner

Dropbox: use move_v2.

parent c79a5dd0
......@@ -175,7 +175,7 @@ IHttpRequest::Pointer Dropbox::createDirectoryRequest(
IHttpRequest::Pointer Dropbox::moveItemRequest(const IItem& source,
const IItem& destination,
std::ostream& stream) const {
auto request = http()->create(endpoint() + "/2/files/move", "POST");
auto request = http()->create(endpoint() + "/2/files/move_v2", "POST");
request->setHeaderParameter("Content-Type", "application/json");
Json::Value json;
json["from_path"] = source.id();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment