Clean up admin blueprint

This commit is contained in:
rubenwardy
2022-01-26 19:12:42 +00:00
parent cb2d9d4b07
commit e2708933d3
8 changed files with 97 additions and 86 deletions

View File

@@ -41,6 +41,6 @@ def audit():
@bp.route("/admin/audit/<int:id>/")
@rank_required(UserRank.MODERATOR)
def audit_view(id):
entry = AuditLogEntry.query.get(id)
def audit_view(id_):
entry = AuditLogEntry.query.get(id_)
return render_template("admin/audit_view.html", entry=entry)