Fix broken audit log in thread log

This commit is contained in:
rubenwardy 2021-06-14 17:40:38 +01:00
parent 7dbea9f042
commit 231c2a3a1e

@ -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()