Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return 404 response in prison/prisoners/{hmppsId} if probation search cannot find HMPPS ID. #555

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

ben-madley-mt
Copy link
Contributor

A GET to /v1/prison/prisoners/ was returning {"data":null} with a 200 code, as we were not picking up on the 404 from the probation API

@ben-madley-mt ben-madley-mt merged commit 66636ba into main Jan 2, 2025
11 checks passed
@ben-madley-mt ben-madley-mt deleted the hmai-136-fix-200-response-for-missing-prisoner branch January 2, 2025 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants