master
Aevann1 2022-02-18 14:01:24 +02:00
parent 541aab1605
commit e8044f48e3
2 changed files with 3 additions and 3 deletions

View File

@ -16,4 +16,4 @@ def post_embed(id, v):
@app.context_processor @app.context_processor
def inject_constants(): def inject_constants():
return {"environ":environ, "SITE":SITE, "SITE_NAME":SITE_NAME, "SITE_FULL":SITE_FULL, "AUTOJANNY_ID":AUTOJANNY_ID, "NOTIFICATIONS_ID":NOTIFICATIONS_ID, "PUSHER_ID":PUSHER_ID, "CC":CC, "CC_TITLE":CC_TITLE, "listdir":listdir, "MOOSE_ID":MOOSE_ID, "AEVANN_ID":AEVANN_ID, "config":app.config.get, "DEFAULT_COLOR":DEFAULT_COLOR, "COLORS":COLORS, "toomuch_subs":toomuch_subs} return {"environ":environ, "SITE":SITE, "SITE_NAME":SITE_NAME, "SITE_FULL":SITE_FULL, "AUTOJANNY_ID":AUTOJANNY_ID, "NOTIFICATIONS_ID":NOTIFICATIONS_ID, "PUSHER_ID":PUSHER_ID, "CC":CC, "CC_TITLE":CC_TITLE, "listdir":listdir, "MOOSE_ID":MOOSE_ID, "AEVANN_ID":AEVANN_ID, "config":app.config.get, "DEFAULT_COLOR":DEFAULT_COLOR, "COLORS":COLORS}

View File

@ -81,7 +81,7 @@ def remove_report_post(v, pid, uid):
g.db.commit() g.db.commit()
return {"message": "Removed report!"} return {"message": "Report removed successfully!"}
@app.post('/del_report/comment/<cid>/<uid>') @app.post('/del_report/comment/<cid>/<uid>')
@ -106,4 +106,4 @@ def remove_report_comment(v, cid, uid):
g.db.commit() g.db.commit()
return {"message": "Removed report!"} return {"message": "Report removed successfully!"}