fix 500 error
parent
35a213969a
commit
656ce28714
|
@ -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:")
|
||||
|
|
Loading…
Reference in New Issue