Skip to content

Commit 5677a0b

Browse files
WIP
1 parent 32e2f3b commit 5677a0b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/eligibility_signposting_api/views/eligibility.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,7 @@ def build_actions(condition: Condition) -> list[eligibility.Action] | None:
137137
eligibility.Action(
138138
actionType=eligibility.ActionType(action.action_type),
139139
actionCode=eligibility.ActionCode(action.action_code),
140-
description=eligibility.Description(action.action_description)
141-
if action.action_description is not None
142-
else None,
140+
description=eligibility.Description(action.action_description),
143141
urlLink=eligibility.UrlLink(action.url_link),
144142
urlLabel=eligibility.UrlLabel(action.url_label),
145143
)

0 commit comments

Comments
 (0)