From 2a2beaebc53ff6ef580a12b986d17147df3f15bc Mon Sep 17 00:00:00 2001 From: Peter Bozsó Date: Sat, 11 Jun 2016 21:38:20 +0200 Subject: Fix DropboxStorage::codeFlowComplete() --- backends/cloud/dropbox/dropboxstorage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3