fug
This commit is contained in:
parent
fa868f8cbd
commit
582135b954
6 changed files with 47 additions and 9 deletions
|
@ -1369,6 +1369,7 @@ def submit_post(v, sub=None):
|
|||
|
||||
g.db.add(c)
|
||||
|
||||
snappy = g.db.query(User).filter_by(id = SNAPPY_ID).one_or_none()
|
||||
snappy.comment_count += 1
|
||||
snappy.coins += 1
|
||||
g.db.add(snappy)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue