master
Aevann1 2021-08-22 18:04:38 +02:00
parent a40399bda0
commit 79ae25215e
1 changed files with 5 additions and 0 deletions

View File

@ -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"})