From 179f34e621e0c847e262abeea06c65bb83ffdbd5 Mon Sep 17 00:00:00 2001 From: aunsane Date: Tue, 1 May 2018 00:33:11 +0300 Subject: CloudFile: fix for #1315 --- plugins/CloudFile/src/Services/google_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/CloudFile/src/Services/google_service.cpp') diff --git a/plugins/CloudFile/src/Services/google_service.cpp b/plugins/CloudFile/src/Services/google_service.cpp index 26ff2d02c4..c9fbb45c1c 100644 --- a/plugins/CloudFile/src/Services/google_service.cpp +++ b/plugins/CloudFile/src/Services/google_service.cpp @@ -243,7 +243,7 @@ auto CGDriveService::CreateSharedLink(const std::string &itemId) void CGDriveService::Upload(FileTransferParam *ftp) { - std::string folderId; + std::string folderId = "root"; auto serverDictionary = ftp->GetServerDirectory(); std::string serverFolder = serverDictionary ? T2Utf(serverDictionary) : ""; if (!serverFolder.empty()) { -- cgit v1.2.3