Fix Bug: final_coupon_expire_at

Kimi.Huang %!s(int64=5) %!d(string=hace) años
padre
commit
1552d2b18e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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': '',