src/pyams_notify/event.py
changeset 57 acaa49debeb6
parent 46 a5b2dd544313
--- a/src/pyams_notify/event.py	Wed Jun 26 18:55:47 2019 +0200
+++ b/src/pyams_notify/event.py	Wed Jun 26 18:56:18 2019 +0200
@@ -88,7 +88,8 @@
 
     def default(self, obj):
         if isinstance(obj, Notification):
-            return {'action': obj.action,
+            return {'host': obj.request.host,
+                    'action': obj.action,
                     'category': obj.category,
                     'title': obj.title,
                     'message': obj.message,