Skip to content

Commit

Permalink
Merge pull request #582 from komapper/renovate/major-ktor-monorepo
Browse files Browse the repository at this point in the history
Update dependency io.ktor:ktor-bom to v3
  • Loading branch information
nakamura-to authored Nov 16, 2024
2 parents af7ce48 + dc4b143 commit 49b0bf7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ksp.useKSP2=true
group=org.komapper
version=0.0.1

ktorVersion=2.3.12
ktorVersion=3.0.1
kotlinVersion=2.0.21
komapperVersion=4.0.0
kspVersion=1.0.28
Expand Down
3 changes: 2 additions & 1 deletion kweet/src/KweetApplication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import io.ktor.server.application.Application
import io.ktor.server.application.ApplicationCall
import io.ktor.server.application.install
import io.ktor.server.freemarker.FreeMarker
import io.ktor.server.plugins.callloging.CallLogging
import io.ktor.server.plugins.calllogging.CallLogging
import io.ktor.server.plugins.conditionalheaders.ConditionalHeaders
import io.ktor.server.plugins.defaultheaders.DefaultHeaders
import io.ktor.server.plugins.partialcontent.PartialContent
Expand Down Expand Up @@ -78,6 +78,7 @@ class Logout()
/**
* Represents a session in this site containing the userId.
*/
@Serializable
data class KweetSession(val userId: String)

/**
Expand Down
3 changes: 1 addition & 2 deletions kweet/src/Register.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ package io.ktor.samples.kweet
import io.ktor.http.Parameters
import io.ktor.samples.kweet.dao.DAOFacade
import io.ktor.samples.kweet.model.User
import io.ktor.server.application.application
import io.ktor.server.application.call
import io.ktor.server.application.log
import io.ktor.server.freemarker.FreeMarkerContent
import io.ktor.server.request.receive
import io.ktor.server.resources.get
import io.ktor.server.resources.post
import io.ktor.server.response.respond
import io.ktor.server.routing.Route
import io.ktor.server.routing.application
import io.ktor.server.sessions.get
import io.ktor.server.sessions.sessions
import io.ktor.server.sessions.set
Expand Down

0 comments on commit 49b0bf7

Please sign in to comment.