Removed debugging code

This commit is contained in:
Stefan Zermatten
2020-10-14 15:54:16 +02:00
parent 51569592ab
commit c0070d017e
2 changed files with 0 additions and 6 deletions

View File

@@ -8,7 +8,6 @@ Meteor.publish('slotFillers', function(slotId){
return this.ready();
}
// Get the slot
console.log({slotId});
let slot = CreatureProperties.findOne(slotId);
if (!slot){
return this.ready()
@@ -30,8 +29,6 @@ Meteor.publish('slotFillers', function(slotId){
fields: {_id: 1},
}).map(lib => lib._id);
console.log(libraryIds);
// Build a filter for nodes in those libraries that match the slot
let filter = {
'ancestors.id': {$in: libraryIds},
@@ -40,8 +37,6 @@ Meteor.publish('slotFillers', function(slotId){
if (slot.slotType){
filter.type = slot.slotType;
}
console.log(filter);
console.log(LibraryNodes.find(filter).fetch());
return LibraryNodes.find(filter);
});
});

View File

@@ -81,7 +81,6 @@ export default {
if (this.model.slotType){
filter.type = this.model.slotType;
}
console.log(filter);
return LibraryNodes.find(filter);
},
}