decrypt add img2

FFIB 5 ans auparavant
Parent
Commettre
770eb14c4a
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      api/encrypt_views.py

+ 3 - 1
api/encrypt_views.py

@@ -166,7 +166,8 @@ def decrypt(request):
166 166
             'Model': (model.model_full_name or model.model_name) if model else '',
167 167
             'DistributorID': distributor_pk,
168 168
             'SerialNo': sn,
169
-            'img': model.imgdata1
169
+            'img': model.imgdata1,
170
+            'img2': model.imgdata
170 171
         },
171 172
         'has_unexpired_activity': has_unexpired_activity,
172 173
         'coupon_info': coupon_info,
@@ -261,6 +262,7 @@ def decrypt2(request):
261 262
             'DistributorID': distributor_pk,
262 263
             'SerialNo': sn,
263 264
             'img': model.imgdata1,
265
+            'img2': model.imgdata
264 266
         },
265 267
         'has_unexpired_activity': has_unexpired_activity,
266 268
         'coupon_info': coupon_info,