We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32e2f3b commit 5677a0bCopy full SHA for 5677a0b
src/eligibility_signposting_api/views/eligibility.py
@@ -137,9 +137,7 @@ def build_actions(condition: Condition) -> list[eligibility.Action] | None:
137
eligibility.Action(
138
actionType=eligibility.ActionType(action.action_type),
139
actionCode=eligibility.ActionCode(action.action_code),
140
- description=eligibility.Description(action.action_description)
141
- if action.action_description is not None
142
- else None,
+ description=eligibility.Description(action.action_description),
143
urlLink=eligibility.UrlLink(action.url_link),
144
urlLabel=eligibility.UrlLabel(action.url_label),
145
)
0 commit comments