Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
andaniel01 committed Mar 20, 2023
1 parent 8664c4f commit cf2c218
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/data/handlers/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ forms.deleteForm = async(formName, res) => {

const unsetQuery = {};
formSectionsNamesToDelete.map( (value) => unsetQuery[value.name] = 1 );
console.log(unsetQuery);

//Delete all form section names exisiting in userDetail collection
UserDetails.updateMany({}, { $unset: unsetQuery}, (err) => {
if (err) {
Expand Down

0 comments on commit cf2c218

Please sign in to comment.