fix ingredients
Took 4 minutes
This commit is contained in:
@ -237,7 +237,7 @@ export class iTender {
|
||||
|
||||
let drinkAccept = true;
|
||||
for (let i of d.ingredients) {
|
||||
let c = await Container.findOne({$and: [{content: i.type}, {content: {$ne: null}}]});
|
||||
let c = await Container.findOne({content: i.type});
|
||||
|
||||
if (!c || c.content != i.type) {
|
||||
drinkAccept = false;
|
||||
|
Reference in New Issue
Block a user