diff options
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/move-drive-files.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/move-drive-files.ts b/src/tools/move-drive-files.ts index 81a38c94d3..0c201ff8d5 100644 --- a/src/tools/move-drive-files.ts +++ b/src/tools/move-drive-files.ts @@ -10,7 +10,8 @@ DriveFile.find({ withoutChunks: { $exists: false } }, { withoutChunks: false - }] + }], + 'metadata.deletedAt': { $exists: false } }, { fields: { _id: true |