Skip to content

Commit 19bc8c0

Browse files
authored
CDPS-1158: Fix Prison API physical attributes endpoint url (#31)
1 parent 464450b commit 19bc8c0

File tree

1 file changed

+2
-2
lines changed
  • src/main/kotlin/uk/gov/justice/digital/hmpps/personintegrationapi/common/client

1 file changed

+2
-2
lines changed

src/main/kotlin/uk/gov/justice/digital/hmpps/personintegrationapi/common/client/PrisonApiClient.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,12 @@ interface PrisonApiClient {
6868
@RequestBody updateNationality: UpdateReligion,
6969
): ResponseEntity<Void>
7070

71-
@GetExchange("/{offenderNo}/core-person-record/physical-attributes")
71+
@GetExchange("/offenders/{offenderNo}/core-person-record/physical-attributes")
7272
fun getPhysicalAttributes(
7373
@PathVariable offenderNo: String,
7474
): ResponseEntity<PhysicalAttributes>
7575

76-
@PutExchange("/{offenderNo}/core-person-record/physical-attributes")
76+
@PutExchange("/offenders/{offenderNo}/core-person-record/physical-attributes")
7777
fun updatePhysicalAttributes(
7878
@PathVariable offenderNo: String,
7979
@RequestBody physicalAttributes: PhysicalAttributesRequest,

0 commit comments

Comments
 (0)