From e24e2805b6510e757d3cac4c1c098e60ab4bc55a Mon Sep 17 00:00:00 2001 From: catarak Date: Wed, 14 Sep 2016 17:34:10 -0400 Subject: [PATCH] db reformat --- server/utils/db_reformat.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/server/utils/db_reformat.js b/server/utils/db_reformat.js index 1b8cf358..3e41e0ae 100644 --- a/server/utils/db_reformat.js +++ b/server/utils/db_reformat.js @@ -93,8 +93,7 @@ Project.find({}) if (file.name === 'sketch.js') { file.isSelectedFile = true; - delete file.isSelected; - console.log(file); + console.log(file.name, 'is now selected'); // file.save((err, savedFile) => { // console.log('file saved'); // }); @@ -115,7 +114,4 @@ Project.find({}) }); }); - }); - - - + }); \ No newline at end of file