쿠폰 자동 입력 사이트 작성
완료. 이제 모든 쿠폰에 **활성** (초록) 또는 **만료** (보라) 배지가 표시됩니다.
This commit is contained in:
@@ -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 [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user