We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa495dd commit eea0a0dCopy full SHA for eea0a0d
basxconnect/mailer_integration/abstract/mailer.py
@@ -39,7 +39,7 @@ def from_subscription(preferences: Subscription):
39
],
40
status=preferences.status,
41
language=preferences.language,
42
- persontype=person.type.slug,
+ persontype=person.type.slug if hasattr(person, "type") else "",
43
)
44
45
0 commit comments