Skip to content

Commit

Permalink
KAIZEN-0: Legg til database
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandraback committed Nov 8, 2019
1 parent 2d2c785 commit c870c02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/kotlin/no/nav/pto/veilarbfilter/HttpHandler.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import io.ktor.server.engine.ApplicationEngine
import io.ktor.server.engine.embeddedServer
import io.ktor.server.netty.Netty
import no.nav.pto.veilarbfilter.config.Configuration
import no.nav.pto.veilarbfilter.config.Database
import no.nav.pto.veilarbfilter.routes.naisRoutes
import no.nav.pto.veilarbfilter.routes.veilarbfilterRoutes
import no.nav.pto.veilarbfilter.service.EnhetFilterServiceImpl
Expand All @@ -40,7 +41,7 @@ fun createHttpServer(applicationState: ApplicationState,
register(ContentType.Application.Json, JacksonConverter(ObjectMapperProvider.objectMapper))
}

//val database = Database(configuration);
val database = Database(configuration);

routing {
route("veilarbfilter") {
Expand Down

0 comments on commit c870c02

Please sign in to comment.