mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 12:35:46 +00:00
@ -218,6 +218,9 @@ def deliver_notification(cls: NotificationMethod, obj, category: str, targets, c
|
|||||||
else:
|
else:
|
||||||
success = False
|
success = False
|
||||||
|
|
||||||
|
else:
|
||||||
|
raise NotImplementedError('No delivery method found')
|
||||||
|
|
||||||
# Run cleanup for delivery method
|
# Run cleanup for delivery method
|
||||||
method.cleanup()
|
method.cleanup()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user