From a090b908bd848e9b201c7581cad410dd298fa582 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 11 Oct 2018 23:52:11 +0900 Subject: [PATCH] Fix bug --- src/tools/move-drive-files.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/move-drive-files.ts b/src/tools/move-drive-files.ts index 782ea664a..3921f9716 100644 --- a/src/tools/move-drive-files.ts +++ b/src/tools/move-drive-files.ts @@ -9,9 +9,9 @@ const limit = promiseLimit(16); DriveFile.find({ $or: [{ - withoutChunks: { $exists: false } + 'metadata.withoutChunks': { $exists: false } }, { - withoutChunks: false + 'metadata.withoutChunks': false }], 'metadata.deletedAt': { $exists: false } }, {