Skip to content

Commit

Permalink
style: 修正命名
Browse files Browse the repository at this point in the history
  • Loading branch information
nullaqua committed Sep 11, 2024
1 parent 3893cc8 commit c73f159
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/main/kotlin/subit/router/Home.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ package subit.router.home

import io.github.smiley4.ktorswaggerui.dsl.routing.get
import io.github.smiley4.ktorswaggerui.dsl.routing.route
import io.ktor.http.*
import io.ktor.server.application.*
import io.ktor.server.plugins.ratelimit.*
import io.ktor.server.response.*
import io.ktor.server.routing.*
import kotlinx.serialization.Serializable
import subit.dataClasses.*
Expand Down
4 changes: 2 additions & 2 deletions src/main/kotlin/subit/router/Router.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import subit.router.posts.posts
import subit.router.privateChat.privateChat
import subit.router.report.report
import subit.router.user.user
import subit.router.wordMarkings.wordMarkings
import subit.router.wordMarkings.wordMarking
import subit.utils.HttpStatus
import subit.utils.respond

Expand Down Expand Up @@ -83,6 +83,6 @@ fun Application.router() = routing()
privateChat()
report()
user()
wordMarkings()
wordMarking()
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import subit.utils.HttpStatus
import subit.utils.respond
import subit.utils.statuses

fun Route.wordMarkings() = route("/wordMarkings",{
fun Route.wordMarking() = route("/wordMarking",{
tags = listOf("划词评论")
description = "划词评论接口"
})
Expand Down

0 comments on commit c73f159

Please sign in to comment.