fix error where JSONValue become an array instead of a string

This commit is contained in:
skilion 2015-09-10 23:04:15 +02:00
parent 2de650d2be
commit 504b9d041a

View file

@ -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);
}