fdsfsd
parent
157f6b6253
commit
8900b50ff9
|
@ -93,7 +93,6 @@ def api_vote_post(post_id, new, v):
|
|||
elif existing.vote_type != 0 and new == 0:
|
||||
if post.created_utc > 1639302300: post.author.coins -= 2
|
||||
else: post.author.coins -= 1
|
||||
post.author.coins -= amount
|
||||
post.author.truecoins -= 1
|
||||
g.db.add(post.author)
|
||||
g.db.delete(existing)
|
||||
|
|
Loading…
Reference in New Issue