diff --git a/src/models/shop/ShopPuzzle.ts b/src/models/shop/ShopPuzzle.ts index 3969f88..250e51e 100644 --- a/src/models/shop/ShopPuzzle.ts +++ b/src/models/shop/ShopPuzzle.ts @@ -94,7 +94,7 @@ export class ShopPuzzleClass extends BaseModule { if (sub_tag) { opt.sub_tag = sub_tag } - if (groups) { + if (groups && groups.length > 0) { Object.assign(opt, { groups: { $in: groups } }) } if (quality != undefined) {