summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-12-30 22:05:29 +0300
committeraunsane <aunsane@gmail.com>2017-12-30 22:05:29 +0300
commit33ebf6b30f6b87fc5b63ff262520f22e67acb022 (patch)
treed7c28915129b69660fcf586ee084d1072a021219
parentb050c8507e79855af4163c6efe3402a63320fa23 (diff)
CloudFile: fixed #1087
-rw-r--r--plugins/CloudFile/src/Services/dropbox_service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CloudFile/src/Services/dropbox_service.cpp b/plugins/CloudFile/src/Services/dropbox_service.cpp
index 51e3c9a3c9..986e9510e7 100644
--- a/plugins/CloudFile/src/Services/dropbox_service.cpp
+++ b/plugins/CloudFile/src/Services/dropbox_service.cpp
@@ -188,7 +188,7 @@ void CDropboxService::CreateSharedLink(const char *path, char *url)
JSONNode error = root.at("error");
if (error.isnull()) {
- JSONNode link = root.at("link");
+ JSONNode link = root.at("url");
mir_strcpy(url, link.as_string().c_str());
return;
}