This commit is contained in:
Aevann1 2022-01-17 20:38:15 +02:00
parent 0bc42b3307
commit 2c58219fd8
2 changed files with 4 additions and 1 deletions

View file

@ -83,6 +83,9 @@ def shop(v):
@app.post("/buy/<award>")
@auth_required
def buy(v, award):
if award == 'benefactor' and not request.values.get("mb"):
return {"error": "You can only buy this award with marseybux."}, 403
AWARDS = deepcopy(AWARDS2)
if award not in AWARDS: abort(400)