This commit is contained in:
Aevann1 2021-09-21 21:18:16 +02:00
parent 4cef72c2ec
commit da1d95f3b8
84 changed files with 8 additions and 13 deletions

View file

@ -26,11 +26,6 @@ tiers={
"(Landchad)": 3,
"(Terminally online turboautist)": 4,
"(Footpig)": 5,
"(Chad)": 1,
"(Megachad)": 2,
"(Gigachad)": 3,
"(Terachad)": 4,
"(Petachad)": 5
}
@app.post("/settings/removebackground")
@ -307,8 +302,7 @@ def gumroad(v):
response = response[0]
tier = tiers[response["variants_and_quantity"]]
if v.patron == tier:
return {"error": f"{patron} rewards already claimed"}, 400
if v.patron == tier: return {"error": f"{patron} rewards already claimed"}, 400
v.patron = tier
g.db.add(v)