Skip to content

Commit

Permalink
Change service level implementation when returning additional support
Browse files Browse the repository at this point in the history
  • Loading branch information
hutcheonb-moj committed Mar 5, 2024
1 parent dcf42c1 commit 724fb3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/services/visitService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export default class VisitService {
? await orchestrationApiClient.getVisitNotifications(reference)
: []

const additionalSupport = visit.visitorSupport.description
const additionalSupport = visit.visitorSupport ? visit.visitorSupport.description : ''

return { visitHistoryDetails, visitors, notifications, additionalSupport }
}
Expand Down

0 comments on commit 724fb3f

Please sign in to comment.