Amend f1153031cc53: typo'd an identifier.

remotes/1693045480750635534/spooky-22
Snakes 2022-09-16 04:59:15 -04:00
parent f1153031cc
commit 7780d6c190
Signed by: Snakes
GPG Key ID: E745A82778055C7E
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ def buy_hat(v, hat_id):
hat.author.procoins += hat.price * 0.1
currency = "marseybux"
else:
charged = v.charge_account('coins', price)
charged = v.charge_account('coins', hat.price)
if not charged:
return {"error": "Not enough coins."}, 400