diff --git a/files/routes/users.py b/files/routes/users.py index 34c573c31..0299e9763 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -1531,7 +1531,7 @@ def av(): existing = g.db.get(Transaction, id) if existing: return '' - amount = data['amount'] + amount = int(data['amount']) email = data['donor']['email'] if not email: return ''