This commit is contained in:
Aevann1 2021-07-23 18:01:17 +02:00
parent 4d7928efc4
commit 51a3fec057

View file

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