From db5bc5c9ec1e97640082fd28137709cc0ca4993b Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 2 Feb 2023 22:09:08 +0200 Subject: [PATCH] fix 500 error --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index 184d563d5..a8fa4771a 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -1315,7 +1315,7 @@ def claim_rewards_all_users(): emails = [x[0] for x in g.db.query(Transaction.email).filter_by(claimed=None).all()] users = g.db.query(User).filter(User.email.in_(emails)).all() for user in users: - claim_rewards(v) + claim_rewards(user) KOFI_TOKEN = environ.get("KOFI_TOKEN", "").strip()