mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
How did I miss this?
This commit is contained in:
parent
4c1a0ea9ce
commit
ddcaecb11f
@ -226,7 +226,7 @@ def trigger_notifaction(obj, category=None, obj_ref='pk', **kwargs):
|
|||||||
|
|
||||||
if NotificationEntry.check_recent(category, obj_ref_value, delta):
|
if NotificationEntry.check_recent(category, obj_ref_value, delta):
|
||||||
logger.info(f"Notification '{category}' has recently been sent for '{str(obj)}' - SKIPPING")
|
logger.info(f"Notification '{category}' has recently been sent for '{str(obj)}' - SKIPPING")
|
||||||
# return
|
return
|
||||||
|
|
||||||
logger.info(f"Gathering users for notification '{category}'")
|
logger.info(f"Gathering users for notification '{category}'")
|
||||||
# Collect possible targets
|
# Collect possible targets
|
||||||
|
Loading…
Reference in New Issue
Block a user