From 765b7e4041d2454162d6f3adeb1d60e8f5574023 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 4 Dec 2023 00:54:37 +0200 Subject: [PATCH] force mbux to be an int --- files/routes/users.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/users.py b/files/routes/users.py index 4f8b799f4..a540207da 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -68,6 +68,7 @@ def claim_rewards_all_users(): g.db.add(transaction) if marseybux: + marseybux = int(marseybux) user.pay_account('marseybux', marseybux) send_repeatable_notification(user.id, f"You have received {marseybux} Marseybux! You can use them to buy awards or hats in the [shop](/shop/awards) or gamble them in the [casino](/casino).")