Skip to content

Commit 167ae7c

Browse files
committedMar 7, 2023
refactor: make dispatcher private
1 parent ec9e8e5 commit 167ae7c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎src/main/kotlin/infrastructure/api/APIController.kt

+1-5
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,7 @@ class APIController(private val provider: ManagerProvider) {
5252
}.start(wait = true)
5353
}
5454

55-
/**
56-
* Dispatcher of the http routing.
57-
* Needs to be public due to reflection used by ktor.
58-
*/
59-
fun dispatcher(app: Application) {
55+
private fun dispatcher(app: Application) {
6056
with(app) {
6157
roomAPI(this)
6258
medicalTechnologyAPI(this)

0 commit comments

Comments
 (0)