Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
tanettrimas committed Oct 28, 2023
1 parent 67898b6 commit 9c0d818
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions backend/app/src/main/kotlin/backend/admin/Routing.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@ import io.ktor.server.response.*
import io.ktor.server.routing.*


fun Application.configureAdminRoutes() {
routing {
adminRoutes(AdminRepository())
}
}

fun Routing.adminRoutes(adminRepository: backend.admin.AdminRepository) {
fun Routing.adminRoutes(adminRepository: AdminRepository) {
get("/admin/workshop") {
call.respond(adminRepository.getWorkshops())
}
Expand Down

0 comments on commit 9c0d818

Please sign in to comment.