This commit is contained in:
Sayyid Hamid Mahdavi 2025-11-12 16:01:28 +03:30
parent 7982878a1d
commit 6570be7b20

View file

@ -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