fsd
This commit is contained in:
parent
ccacd78fa8
commit
442355bde7
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue