summaryrefslogtreecommitdiff
path: root/plugins/CloudFile
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-05-12 21:24:23 +0300
committeraunsane <aunsane@gmail.com>2018-05-12 21:24:23 +0300
commit562716ed3df79905977342f9f460f2aa21769374 (patch)
tree5330ae4e52f9116efec314386fb09c4339ea768e /plugins/CloudFile
parent014d039b2248ddd67f773a7e37a62a70de329233 (diff)
CloudFile: fix uploading to GDrive subfolder (#1278)
Diffstat (limited to 'plugins/CloudFile')
-rw-r--r--plugins/CloudFile/src/Services/google_api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/CloudFile/src/Services/google_api.h b/plugins/CloudFile/src/Services/google_api.h
index 2020e7db23..cbccb2d83c 100644
--- a/plugins/CloudFile/src/Services/google_api.h
+++ b/plugins/CloudFile/src/Services/google_api.h
@@ -108,6 +108,7 @@ namespace GDriveAPI
JSONNode parents(JSON_ARRAY);
parents << JSONNode("", parentId);
+ parents.set_name("parents");
JSONNode params(JSON_NODE);
params << JSONNode("name", name);