Skip to content

Commit 116c0e5

Browse files
Rekick
1 parent 8712d93 commit 116c0e5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/services/GetPersonService.kt

+1-3
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,9 @@ class GetPersonService(
3232
"probationOffenderSearch" to probationResponse.data,
3333
)
3434

35-
val errors = (prisonResponse?.errors ?: emptyList()) + probationResponse.errors
36-
3735
return Response(
3836
data = data,
39-
errors = errors,
37+
errors = (prisonResponse?.errors ?: emptyList()) + probationResponse.errors,
4038
)
4139
}
4240
}

0 commit comments

Comments
 (0)