forked from rDrama/rDrama
master
parent
d2661bd222
commit
2c1c705619
|
@ -168,4 +168,4 @@ def api_vote_comment(comment_id, new, v):
|
|||
comment.upvotes = g.db.query(CommentVote).filter_by(comment_id=comment.id, vote_type=1).count()
|
||||
comment.downvotes = g.db.query(CommentVote).filter_by(comment_id=comment.id, vote_type=-1).count()
|
||||
g.db.add(comment)
|
||||
return make_response(""), 204
|
||||
return make_response(""), 204
|
Loading…
Reference in New Issue