From 79ae25215ea81b80a8aa1fc4b1680089d662404c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 22 Aug 2021 18:04:38 +0200 Subject: [PATCH] fdfd --- files/routes/settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/routes/settings.py b/files/routes/settings.py index efc34693e..b3c61b89c 100644 --- a/files/routes/settings.py +++ b/files/routes/settings.py @@ -263,6 +263,11 @@ def gumroad(v): g.db.bulk_save_objects(_awards) + new_badge = Badge(badge_id=20+tier, + user_id=v.id, + ) + g.db.add(new_badge) + g.db.add(v) return jsonify({"message": "Patron rewards claimed"})