From 231c2a3a1ef8d7ee1f8fe2ec8e581fb8d61b4cc2 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 14 Jun 2021 17:40:38 +0100 Subject: [PATCH] Fix broken audit log in thread log --- app/blueprints/threads/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/blueprints/threads/__init__.py b/app/blueprints/threads/__init__.py index aba8db03..9c39fc71 100644 --- a/app/blueprints/threads/__init__.py +++ b/app/blueprints/threads/__init__.py @@ -104,7 +104,7 @@ def set_lock(id): flash("Unlocked thread", "success") addNotification(thread.watchers, current_user, NotificationType.OTHER, msg, thread.getViewURL(), thread.package) - addAuditLog(AuditSeverity.MODERATION, current_user, NotificationType.OTHER, msg, thread.getViewURL(), thread.package) + addAuditLog(AuditSeverity.MODERATION, current_user, msg, thread.getViewURL(), thread.package) db.session.commit()