This commit is contained in:
Aevann1 2021-11-30 16:18:16 +02:00
parent 4009148ff1
commit dd4fb5b411
10 changed files with 50 additions and 33 deletions

View file

@ -401,7 +401,7 @@ def api_comment(v):
g.db.add(n)
if v.id == PIZZA_SHILL_ID:
cratvote = CommentVote(user_id=TAX_RECEIVER_ID, comment_id=c.id, vote_type=1)
cratvote = CommentVote(user_id=TAX_RECEIVER_ID, comment_id=c.id, vote_type=1, real=True)
g.db.add(cratvote)
v.coins += 1
v.truecoins += 1
@ -584,7 +584,8 @@ def api_comment(v):
vote = CommentVote(user_id=v.id,
comment_id=c.id,
vote_type=1
vote_type=1,
real=True
)
g.db.add(vote)