Fixed notification.to_json broke when slots was added.
This commit is contained in:
parent
06d7913248
commit
b373a357ba
@ -57,5 +57,5 @@ class Notification(object):
|
||||
'state',
|
||||
'tenant_id'
|
||||
]
|
||||
notification_data = {name: self.name for name in notification_fields}
|
||||
notification_data = {name: getattr(self, name) for name in notification_fields}
|
||||
return json.dumps(notification_data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user