Fix Bug: final_coupon_expire_at

Kimi.Huang 5 years ago
parent
commit
1552d2b18e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      api/encrypt_views.py

+ 1 - 1
api/encrypt_views.py

@@ -112,7 +112,7 @@ def decrypt(request):
112 112
     has_unexpired_activity = True if act and act.has_unexpired_activity(model.model_uni_name) else False
113 113
 
114 114
     coupon_info = {
115
-        'coupon_expire_at': act.final_coupon_expire_at,
115
+        'coupon_expire_at': act.final_coupon_expire_at(created_at=None),
116 116
         'coupon_value': act.coupon_value,
117 117
     } if has_unexpired_activity else {
118 118
         'coupon_expire_at': '',