fix 500 error

pull/225/head
Aevann 2024-03-02 19:43:56 +02:00
parent 35a213969a
commit 656ce28714
1 changed files with 1 additions and 1 deletions

View File

@ -2163,7 +2163,7 @@ def mark_effortpost(pid, v):
coins = (p.upvotes + p.downvotes) * mul
p.author.pay_account('coins', coins, f"Retroactive efortpost gains of {post.textlink}")
p.author.pay_account('coins', coins, f"Retroactive efortpost gains of {p.textlink}")
if v.id != p.author_id:
send_repeatable_notification(p.author_id, f":marseyclapping: @{v.username} (a site admin) has marked {p.textlink} as an effortpost, it now gets x{mul} coins from votes. You have received {coins} coins retroactively, thanks! :!marseyclapping:")