diff options
author | Peter Bozsó | 2016-06-11 21:38:20 +0200 |
---|---|---|
committer | Alexander Tkachev | 2016-08-24 16:07:55 +0600 |
commit | 2a2beaebc53ff6ef580a12b986d17147df3f15bc (patch) | |
tree | 36ad6583b98fb86fc4571d60d98494e07b080697 | |
parent | bad2ec3ef4326593f3eac90af8b847062e2554cd (diff) | |
download | scummvm-rg350-2a2beaebc53ff6ef580a12b986d17147df3f15bc.tar.gz scummvm-rg350-2a2beaebc53ff6ef580a12b986d17147df3f15bc.tar.bz2 scummvm-rg350-2a2beaebc53ff6ef580a12b986d17147df3f15bc.zip |
Fix DropboxStorage::codeFlowComplete()
-rw-r--r-- | backends/cloud/dropbox/dropboxstorage.cpp | 2 |
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(); |