diff --git a/files/routes/awards.py b/files/routes/awards.py index 2e373f4cb..d8119551a 100644 --- a/files/routes/awards.py +++ b/files/routes/awards.py @@ -71,6 +71,7 @@ def buy(v, award): award = AwardRelationship(user_id=v.id, kind=award) g.db.add(award) + g.db.commit() print(award) return render_template("shop.html", awards=list(AWARDS.values()), v=v)