From 3b93a5ff191de24480c7787d820d0a1072712734 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Tue, 13 Dec 2016 20:47:19 -0500 Subject: [PATCH] remove deletion step --- server/utils/db_reformat.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/server/utils/db_reformat.js b/server/utils/db_reformat.js index 92c5b3b8..bf143deb 100644 --- a/server/utils/db_reformat.js +++ b/server/utils/db_reformat.js @@ -68,13 +68,13 @@ objectsResponse.on('end', () => { Objects: filesToDelete, }, }; - let del = client.deleteObjects(params); - del.on('err', (err) => { - console.log(err); - }); - del.on('end', () => { - console.log('deleted extra S3 files!'); - }); + // let del = client.deleteObjects(params); + // del.on('err', (err) => { + // console.log(err); + // }); + // del.on('end', () => { + // console.log('deleted extra S3 files!'); + // }); console.log("To delete: ", filesToDelete.length); console.log("Total S3 files: ", uploadedFiles.length); console.log("Total S3 files in mongo: ", s3Files.length);