remove console log

This commit is contained in:
nolan 2021-06-21 14:29:03 -07:00
parent 5fa127fda3
commit 6cf0217d22

View File

@ -168,7 +168,6 @@ class MongodbTable {
//Lazy Function //Lazy Function
_handleData(data) { //Convert data._id to Mongo ObjectIds (gets converted to plaintext through shard communication) _handleData(data) { //Convert data._id to Mongo ObjectIds (gets converted to plaintext through shard communication)
if(data._id) { if(data._id) {
console.log(data._id, typeof data._id);
if(typeof data._id === 'string') data._id = ObjectId(data._id); if(typeof data._id === 'string') data._id = ObjectId(data._id);
else if(typeof data._id === 'object') data._id = { else if(typeof data._id === 'object') data._id = {
$in: Object.values(data._id)[0].map((id) => { $in: Object.values(data._id)[0].map((id) => {