From ddcaecb11fcf2bf28d9d6e81a78219aedc06cbc3 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 7 Apr 2022 23:39:05 +0200 Subject: [PATCH] How did I miss this? --- InvenTree/common/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InvenTree/common/notifications.py b/InvenTree/common/notifications.py index 1f1b743c1c..8e36dd02b3 100644 --- a/InvenTree/common/notifications.py +++ b/InvenTree/common/notifications.py @@ -226,7 +226,7 @@ def trigger_notifaction(obj, category=None, obj_ref='pk', **kwargs): if NotificationEntry.check_recent(category, obj_ref_value, delta): logger.info(f"Notification '{category}' has recently been sent for '{str(obj)}' - SKIPPING") - # return + return logger.info(f"Gathering users for notification '{category}'") # Collect possible targets