Rename template_content to content

`template_content` is a template that hasn't had its placeholders filled
in whereas content is where it would have (which is what has happened
above)
This commit is contained in:
Chris Hill-Scott
2020-10-08 11:39:17 +01:00
parent 80352bafe1
commit 57473ef65d
2 changed files with 2 additions and 2 deletions

View File

@@ -2267,7 +2267,7 @@ class BroadcastMessage(db.Model):
'template_id': str(self.template_id),
'template_version': self.template_version,
'template_name': self.template.name,
'template_content': self.content,
'content': self.content,
'personalisation': self.personalisation,
'areas': self.areas.get("areas", []),