sneed
parent
2f71fce856
commit
ff8da2e3b4
|
@ -968,7 +968,6 @@ def admin_distinguish_comment(c_id, v):
|
|||
@app.route("/admin/dump_cache", methods=["GET"])
|
||||
@admin_level_required(6)
|
||||
def admin_dump_cache(v):
|
||||
cache.delete_memoized(leaderboard)
|
||||
cache.clear()
|
||||
return jsonify({"message": "Internal cache cleared."})
|
||||
|
||||
|
|
Loading…
Reference in New Issue