Skip to content

Commit 3756c34

Browse files
committedMay 16, 2024
[HIA-721]
WIP Removing unnecessary body from gateway
1 parent 230724a commit 3756c34

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/gateways/RiskManagementGateway.kt

-3
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,13 @@ class RiskManagementGateway(
1919
lateinit var hmppsAuthGateway: HmppsAuthGateway
2020

2121
fun getRiskManagementPlansForCrn(crn: String): Response<CrnRiskManagementPlans?> {
22-
val requestBody =
23-
mapOf("crn" to crn)
2422

2523
val result =
2624
webClient.request<CrnRiskManagementPlans>(
2725
HttpMethod.GET,
2826
"/risks/crn/$crn/risk-management-plan",
2927
authenticationHeader(),
3028
UpstreamApi.RISK_MANAGEMENT_PLAN,
31-
requestBody,
3229
)
3330
return when (result) {
3431
is WebClientWrapper.WebClientWrapperResponse.Success -> {

0 commit comments

Comments
 (0)