diff --git a/apps/promotions/models.py b/apps/promotions/models.py index b1176fa..905d6be 100644 --- a/apps/promotions/models.py +++ b/apps/promotions/models.py @@ -190,7 +190,7 @@ class Recipient(BaseModel): else: raise NotImplementedError() - base_amount = obj.data.get(key) + base_amount = int(obj.data.get(key)) except Exception as e: try: base_amount = int(self.base_amount_field) # todo: to float