fdsfds
This commit is contained in:
parent
4009148ff1
commit
dd4fb5b411
10 changed files with 50 additions and 33 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue