Skip to content

Commit

Permalink
Notification serializer now redacts personalisation
Browse files Browse the repository at this point in the history
  • Loading branch information
mchlwellman committed Dec 13, 2024
1 parent 3446cbd commit b55ce1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ def _substitute_status_seq(_statuses):
def content(self):
from app.utils import get_template_instance

template_object = get_template_instance(self.template.__dict__, self.personalisation)
template_object = get_template_instance(self.template.__dict__, {k: '<redacted>' for k in self.personalisation})
return str(template_object)

@property
Expand Down

0 comments on commit b55ce1d

Please sign in to comment.