Update: User.ad console.log interests
This commit is contained in:
parent
bec2c5848b
commit
a6b1828c4b
1 changed files with 1 additions and 1 deletions
|
|
@ -418,7 +418,7 @@ exports.ad = (req, res) => {
|
|||
match = {$match: {isVisible: true, isActive: true}};
|
||||
pick = {$sample: {size: parseInt(quantity, 10)}};
|
||||
}
|
||||
console.log(match, pick);
|
||||
console.log(match, pick, interests);
|
||||
Ad.aggregate([
|
||||
match,
|
||||
pick
|
||||
|
|
|
|||
Reference in a new issue