Skip to content

Commit e5b43c2

Browse files
feat: make repository interface functional
1 parent 11cd2f3 commit e5b43c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/kotlin/usecase/repository/AuthenticationRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import io.vertx.core.Future
1414
/**
1515
* interface for user authentication repository.
1616
*/
17-
interface AuthenticationRepository {
17+
fun interface AuthenticationRepository {
1818

1919
/**
2020
* Authenticate a user.

src/main/kotlin/usecase/repository/SurgicalProcessRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import io.vertx.core.Future
1515
/**
1616
* Repository to manage and obtain data for Surgical Processes.
1717
*/
18-
interface SurgicalProcessRepository {
18+
fun interface SurgicalProcessRepository {
1919

2020
/**
2121
* Get a [SurgicalProcess] by the [preOperatingRoomId] and the [operatingRoomId].

0 commit comments

Comments
 (0)