Skip to content

Commit d159079

Browse files
Changed return type for controller
1 parent 039c2ae commit d159079

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/person

1 file changed

+1
-1
lines changed

src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/person/PersonController.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class PersonController(
6161
@GetMapping("{encodedHmppsId}")
6262
fun getPerson(
6363
@PathVariable encodedHmppsId: String,
64-
): Map<String, Any?> {
64+
): Map<String, Map<String, Person?>> {
6565
val hmppsId = encodedHmppsId.decodeUrlCharacters()
6666
val response = getPersonService.execute(hmppsId)
6767

0 commit comments

Comments
 (0)