Skip to content

Commit d25689e

Browse files
adding errors
1 parent 67b4a8f commit d25689e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class GetLicenceConditionService(
3030

3131
return Response(
3232
data = personLicences,
33-
errors = licences.errors,
33+
errors = personResponse.errors + licences.errors,
3434
)
3535
}
3636
}

0 commit comments

Comments
 (0)