You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/main/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/services/GetReviewScheduleForPersonService.kt
+7-4
Original file line number
Diff line number
Diff line change
@@ -16,10 +16,13 @@ class GetReviewScheduleForPersonService(
16
16
val response = getPersonService.getNomisNumber(hmppsId = hmppsId)
17
17
18
18
response.data?.nomisNumber?.let {
19
-
returnResponse(ReviewSchedule(
20
-
deadlineDate =LocalDate.now().plusMonths(1),
21
-
nomisNumber = it,
22
-
description ="This is a hardcoded response."))
19
+
returnResponse(
20
+
ReviewSchedule(
21
+
deadlineDate =LocalDate.now().plusMonths(1),
22
+
nomisNumber = it,
23
+
description ="This is a hardcoded response.",
24
+
),
25
+
)
23
26
// return plpGateway.getReviewSchedule(it) // <-- this will be call the PLP service once the downstream code is written
Copy file name to clipboardexpand all lines: src/test/kotlin/uk/gov/justice/digital/hmpps/hmppsintegrationapi/controllers/v1/person/InductionScheduleTest.kt
0 commit comments