forked from MarseyWorld/MarseyWorld
Commit txn in /notifications (by @Aevann1).
parent
c715185e85
commit
13ceb8818d
|
@ -160,6 +160,7 @@ def notifications(v):
|
||||||
|
|
||||||
if c not in listing: listing.append(c)
|
if c not in listing: listing.append(c)
|
||||||
|
|
||||||
|
g.db.commit()
|
||||||
|
|
||||||
if request.headers.get("Authorization"): return {"data":[x.json for x in listing]}
|
if request.headers.get("Authorization"): return {"data":[x.json for x in listing]}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue