forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-04-12 19:32:53 +02:00
parent 17852d30e6
commit 8098f4c4f7
1 changed files with 2 additions and 2 deletions

View File

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