From 504b9d041a8101a77e907c795cf1acb4cd54cb2e Mon Sep 17 00:00:00 2001 From: skilion Date: Thu, 10 Sep 2015 23:04:15 +0200 Subject: [PATCH] fix error where JSONValue become an array instead of a string --- src/sync.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sync.d b/src/sync.d index b4d413a1..4247113c 100644 --- a/src/sync.d +++ b/src/sync.d @@ -391,7 +391,7 @@ final class SyncEngine { import std.path; writeln("Creating folder ..."); - folderItem["name"] = baseName(path); + folderItem["name"] = baseName(path).idup; folderItem["fileSystemInfo"].object["lastModifiedDateTime"] = timeLastModified(path).toUTC().toISOExtString(); onedrive.createByPath(dirName(path), folderItem); }