dfdf
This commit is contained in:
parent
9cda7ec621
commit
ed9f84f114
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ def api_vote_comment(comment_id, new, v):
|
||||||
comment.author.dramacoins += 1
|
comment.author.dramacoins += 1
|
||||||
g.db.add(comment.author)
|
g.db.add(comment.author)
|
||||||
vote = CommentVote(user_id=v.id,
|
vote = CommentVote(user_id=v.id,
|
||||||
vote_type=x,
|
vote_type=new,
|
||||||
comment_id=base36decode(comment_id),
|
comment_id=base36decode(comment_id),
|
||||||
app_id=v.client.application.id if v.client else None
|
app_id=v.client.application.id if v.client else None
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue