diff --git a/src/sync.d b/src/sync.d index a6f7f10c..48a90307 100644 --- a/src/sync.d +++ b/src/sync.d @@ -63,7 +63,7 @@ private Item makeItem(const ref JSONValue jsonItem) }; // extract the file hash - if (type == ItemType.file) { + if (isItemFile(jsonItem)) { if ("hashes" in jsonItem["file"]) { if ("crc32Hash" in jsonItem["file"]["hashes"]) { item.crc32Hash = jsonItem["file"]["hashes"]["crc32Hash"].str;