aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/cloud/dropbox/dropboxstorage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/cloud/dropbox/dropboxstorage.cpp b/backends/cloud/dropbox/dropboxstorage.cpp
index 180b40c3d5..b8851b05ec 100644
--- a/backends/cloud/dropbox/dropboxstorage.cpp
+++ b/backends/cloud/dropbox/dropboxstorage.cpp
@@ -78,7 +78,7 @@ void DropboxStorage::codeFlowComplete(Networking::JsonResponse response) {
warning("Bad response, no token/uid passed");
} else {
_token = result.getVal("access_token")->asString();
- _uid = result.getVal("user_id")->asString();
+ _uid = result.getVal("uid")->asString();
ConfMan.removeKey("dropbox_code", "cloud");
CloudMan.replaceStorage(this, kStorageDropboxId);
ConfMan.flushToDisk();