forked from MarseyWorld/MarseyWorld
fsd
parent
17852d30e6
commit
8098f4c4f7
|
@ -571,7 +571,7 @@ def fart_mode(v):
|
||||||
)
|
)
|
||||||
g.db.add(ma)
|
g.db.add(ma)
|
||||||
g.db.commit()
|
g.db.commit()
|
||||||
return {"message": "Fart mode enabled!"}
|
return {"message": "Fart mode disabled!"}
|
||||||
else:
|
else:
|
||||||
f.write("yes")
|
f.write("yes")
|
||||||
ma = ModAction(
|
ma = ModAction(
|
||||||
|
@ -580,7 +580,7 @@ def fart_mode(v):
|
||||||
)
|
)
|
||||||
g.db.add(ma)
|
g.db.add(ma)
|
||||||
g.db.commit()
|
g.db.commit()
|
||||||
return {"message": "Fart mode disabled!"}
|
return {"message": "Fart mode enabled!"}
|
||||||
|
|
||||||
|
|
||||||
@app.post("/admin/purge_cache")
|
@app.post("/admin/purge_cache")
|
||||||
|
|
Loading…
Reference in New Issue