Add Notifications shortcut (#5104)

* add notify_users shortcut

* make html template optional
This commit is contained in:
Matthias Mair
2023-06-26 09:43:07 +10:00
committed by GitHub
parent 0458b5c53a
commit a83a71b3a3
2 changed files with 45 additions and 28 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ class NotificationBody:
name: str
slug: str
message: str
template: str
template: str = None
class InvenTreeNotificationBodies: