mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Fix audit crash
This commit is contained in:
parent
2bbb117eac
commit
83b2cf48d4
@ -39,7 +39,7 @@ def audit():
|
|||||||
return render_template("admin/audit.html", log=pagination.items, pagination=pagination)
|
return render_template("admin/audit.html", log=pagination.items, pagination=pagination)
|
||||||
|
|
||||||
|
|
||||||
@bp.route("/admin/audit/<int:id>/")
|
@bp.route("/admin/audit/<int:id_>/")
|
||||||
@rank_required(UserRank.MODERATOR)
|
@rank_required(UserRank.MODERATOR)
|
||||||
def audit_view(id_):
|
def audit_view(id_):
|
||||||
entry = AuditLogEntry.query.get(id_)
|
entry = AuditLogEntry.query.get(id_)
|
||||||
|
Loading…
Reference in New Issue
Block a user