fix 500 error

master
Aevann 2024-10-27 00:50:29 +03:00
parent 01fb84238d
commit 96875e880c
1 changed files with 1 additions and 1 deletions

View File

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