Skip to content

Commit 60984b1

Browse files
giacomoaccursiandrea-acampora
authored andcommitted
chore: substitute SurgeryReportInfo with SurgeryReport
1 parent 79df74c commit 60984b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/kotlin/application/service/SurgeryReportService.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
package application.service
1010

1111
import entity.surgeryreport.SurgeryReportEntry
12-
import entity.surgeryreport.SurgeryReportInfo
12+
import entity.surgeryreport.report.SurgeryReport
1313
import io.vertx.core.Future
1414
import usecase.repository.SurgeryReportRepository
1515

@@ -34,8 +34,8 @@ object SurgeryReportService {
3434
class SurgeryReportInfoService(
3535
private val processId: String,
3636
private val repository: SurgeryReportRepository,
37-
) : ApplicationService<Future<SurgeryReportInfo>> {
37+
) : ApplicationService<Future<SurgeryReport>> {
3838

39-
override fun execute(): Future<SurgeryReportInfo> = repository.getSurgeryReportInfo(processId)
39+
override fun execute(): Future<SurgeryReport> = repository.getSurgeryReportInfo(processId)
4040
}
4141
}

0 commit comments

Comments
 (0)