diff --git a/spa/models/notification.py b/spa/models/notification.py index 8eb2841..41a50ba 100644 --- a/spa/models/notification.py +++ b/spa/models/notification.py @@ -62,8 +62,8 @@ class Notification(_BaseModel): 'headers': {'Reply-To': 'chatbot@deepsouthsounds.com'}, 'metadata': {'website': 'www.deepsouthsounds.com'}, 'subject': self.notification_text, - 'to': [{'email': 'fergal.moran@gmail.com', - 'name': 'Fergal Moran', + 'to': [{'email': self.to_user.email, + 'name': self.to_user.get_nice_name(), 'type': 'to'}], 'html': rendered, 'text': 'Get yourself some HTML man!',