summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-11 23:52:11 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-11 23:52:11 +0900
commita090b908bd848e9b201c7581cad410dd298fa582 (patch)
tree63fb55e7de3fbbee7bac2da1f8b0944d67744533 /src/tools
parent10.9.1 (diff)
downloadmisskey-a090b908bd848e9b201c7581cad410dd298fa582.tar.gz
misskey-a090b908bd848e9b201c7581cad410dd298fa582.tar.bz2
misskey-a090b908bd848e9b201c7581cad410dd298fa582.zip
Fix bug
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/move-drive-files.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/move-drive-files.ts b/src/tools/move-drive-files.ts
index 782ea664af..3921f9716e 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 }
}, {