We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7c3d35 commit 9f73958Copy full SHA for 9f73958
src/main/kotlin/infrastructure/webclient/WebClient.kt
@@ -86,9 +86,9 @@ class WebClient(vertx: Vertx) :
86
}
87
88
89
- override fun getSurgeryReportInfo(processId: String): Future<SurgeryReportInfo> =
90
- client.getAbs("$SR_URI/reports/$processId").send().map { res ->
91
- Json.decodeFromString<SurgeryReportInfoDto>(res.bodyAsString()).toSurgeryNameInfo()
+ override fun getSurgeryReportInfo(processId: String): Future<SurgeryReport> =
+ client.getAbs("$SR_URI/reports/$processId").send().map {
+ Json.decodeFromString<SurgeryReportApiDto>(it.bodyAsString()).toSurgeryReport()
92
93
94
override fun integrateReport(surgeryReportIntegration: SurgeryReportIntegration): Future<Boolean> =
0 commit comments