diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-07-24 05:04:43 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-07-24 05:04:43 +0900 |
| commit | adc3c16ef3bd53a4f1bb84ab7ca0fcc64384fe8f (patch) | |
| tree | 3c64bddfeff2230f445907037b63bcc5a26b2b94 /cli | |
| parent | wip (diff) | |
| download | sharkey-adc3c16ef3bd53a4f1bb84ab7ca0fcc64384fe8f.tar.gz sharkey-adc3c16ef3bd53a4f1bb84ab7ca0fcc64384fe8f.tar.bz2 sharkey-adc3c16ef3bd53a4f1bb84ab7ca0fcc64384fe8f.zip | |
wip
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/clean-cached-remote-files.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/clean-cached-remote-files.js b/cli/clean-cached-remote-files.js index a9c38a4cdf..5b388c73b4 100644 --- a/cli/clean-cached-remote-files.js +++ b/cli/clean-cached-remote-files.js @@ -9,7 +9,7 @@ const q = { 'metadata._user.host': { $ne: null }, - 'metadata.isMetaOnly': false + 'metadata.withoutChunks': false }; async function main() { @@ -57,7 +57,7 @@ async function main() { DriveFile.update({ _id: file._id }, { $set: { - 'metadata.isMetaOnly': true + 'metadata.withoutChunks': true } }) ]).then(async () => { |