diff --git a/back/src/wos/wos.service.ts b/back/src/wos/wos.service.ts index 9101985..eaef255 100644 --- a/back/src/wos/wos.service.ts +++ b/back/src/wos/wos.service.ts @@ -157,7 +157,7 @@ export class WosService { async redeemAll(fid: string) { const activeCoupons = await this.wosCouponRepo.find({ - where: { is_active: true, is_expired: false }, + where: { is_expired: false }, }); if (activeCoupons.length === 0) return []; diff --git a/front/src/components/CouponManager.vue b/front/src/components/CouponManager.vue index d62ba4b..cb65cbb 100644 --- a/front/src/components/CouponManager.vue +++ b/front/src/components/CouponManager.vue @@ -22,6 +22,7 @@