fix ingredients

Took 4 minutes
This commit is contained in:
2022-11-28 11:06:44 +01:00
parent 35ddbe3662
commit a6ba5a8938
2 changed files with 3 additions and 2 deletions

View File

@ -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;