Skip to content

Commit

Permalink
Merge pull request #722 from ministryofjustice/change/handle-rosh-fai…
Browse files Browse the repository at this point in the history
…lure

Update copy for when RoSH info can't be retrieved
  • Loading branch information
libuk authored Nov 3, 2023
2 parents c82ff4e + c826644 commit 24e46d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/form-pages/utils/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ describe('personRisksRoshResponse', () => {

expect(utils.personRisksRoshResponse(risks)).toEqual({
'Risk of serious harm':
'Something went wrong. We are unable to include RoSH information. This risk data must be checked manually outside of this service.',
'We were unable to automatically import RoSH information. Check the "Placement considerations" section to find the OASys risk levels. If the risk levels are not present, they must be checked manually outside of this service.',
})
})
})
Expand Down
2 changes: 1 addition & 1 deletion server/form-pages/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export const personRisksRoshResponse = (risks: PersonRisks): PageResponse => {
}
return {
'Risk of serious harm':
'Something went wrong. We are unable to include RoSH information. This risk data must be checked manually outside of this service.',
'We were unable to automatically import RoSH information. Check the "Placement considerations" section to find the OASys risk levels. If the risk levels are not present, they must be checked manually outside of this service.',
}
}

Expand Down

0 comments on commit 24e46d3

Please sign in to comment.