forked from MarseyWorld/MarseyWorld
restore necessary flush
parent
260fc17735
commit
6ceb087912
|
@ -744,6 +744,8 @@ def submit_post(v:User, sub=None):
|
||||||
if not p.private:
|
if not p.private:
|
||||||
execute_snappy(p, v)
|
execute_snappy(p, v)
|
||||||
|
|
||||||
|
g.db.flush() #Necessary, do NOT remove
|
||||||
|
|
||||||
if v.client: return p.json
|
if v.client: return p.json
|
||||||
else:
|
else:
|
||||||
p.voted = 1
|
p.voted = 1
|
||||||
|
|
Loading…
Reference in New Issue