:art: Add coupon_expire_at

huangqimin001 %!s(int64=3) %!d(string=hace) años
padre
commit
e94860686f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      commands/management/commands/once_refresh_user_coupon_expired_time.py

+ 1 - 1
commands/management/commands/once_refresh_user_coupon_expired_time.py

@@ -25,7 +25,7 @@ class Command(CompatibilityBaseCommand):
25 25
                     continue
26 26
 
27 27
                 try:
28
-                    coupon = CouponInfo.objects.get(coupon_id=coupon_id)
28
+                    CouponInfo.objects.get(coupon_id=coupon_id)
29 29
                 except CouponInfo.DoesNotExist:
30 30
                     continue
31 31