mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-29 12:03:07 +02:00
fix error where JSONValue become an array instead of a string
This commit is contained in:
parent
2de650d2be
commit
504b9d041a
|
@ -391,7 +391,7 @@ final class SyncEngine
|
||||||
{
|
{
|
||||||
import std.path;
|
import std.path;
|
||||||
writeln("Creating folder ...");
|
writeln("Creating folder ...");
|
||||||
folderItem["name"] = baseName(path);
|
folderItem["name"] = baseName(path).idup;
|
||||||
folderItem["fileSystemInfo"].object["lastModifiedDateTime"] = timeLastModified(path).toUTC().toISOExtString();
|
folderItem["fileSystemInfo"].object["lastModifiedDateTime"] = timeLastModified(path).toUTC().toISOExtString();
|
||||||
onedrive.createByPath(dirName(path), folderItem);
|
onedrive.createByPath(dirName(path), folderItem);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue