This commit is contained in:
Aevann1 2021-12-12 19:06:48 +02:00
parent fa7c37c476
commit 6f87871c63
7 changed files with 63 additions and 13 deletions

View file

@ -883,7 +883,7 @@ def ban_post(post_id, v):
cache.delete_memoized(frontlist)
v.coins += 1
v.coins += 2
g.db.add(v)
g.db.commit()
@ -917,7 +917,7 @@ def unban_post(post_id, v):
cache.delete_memoized(frontlist)
v.coins -= 1
v.coins -= 2
g.db.add(v)
g.db.commit()