This commit is contained in:
Aevann1 2022-02-26 16:21:07 +02:00
parent fa868f8cbd
commit 582135b954
6 changed files with 47 additions and 9 deletions

View file

@ -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)