aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/xyz/driver/core/app/DriverApp.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/xyz/driver/core/app/DriverApp.scala')
-rw-r--r--src/main/scala/xyz/driver/core/app/DriverApp.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/scala/xyz/driver/core/app/DriverApp.scala b/src/main/scala/xyz/driver/core/app/DriverApp.scala
index 8f2cf70..4110c37 100644
--- a/src/main/scala/xyz/driver/core/app/DriverApp.scala
+++ b/src/main/scala/xyz/driver/core/app/DriverApp.scala
@@ -108,8 +108,7 @@ class DriverApp(appName: String,
respondWithHeaders(responseHeaders) {
modules
- .flatMap(_.routes)
- .map(_.routeWithDefaults)
+ .map(_.route)
.foldLeft(versionRt ~ healthRoute ~ swaggerRoutes)(_ ~ _)
}(contextWithTrackingId)
}