db reformat again
This commit is contained in:
parent
8bf252ed87
commit
90c55e9e0b
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ Project.find({})
|
|||
.exec((err, projects) => {
|
||||
projects.forEach((project, projectIndex) => {
|
||||
project.files.forEach((file) => {
|
||||
if (file.isSelected === true || file.isSelected === false) {
|
||||
if (file.isSelected) {
|
||||
file.isSelectedFile = file.isSelected;
|
||||
delete file.isSelected;
|
||||
console.log(file);
|
||||
|
|
Loading…
Reference in a new issue