Fix call to individual app details
Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
parent
1ebd91afbc
commit
9ac2ab68dc
1 changed files with 4 additions and 2 deletions
|
@ -49,8 +49,10 @@ fun Route.appsRoutes() {
|
|||
}
|
||||
|
||||
get("{appId}") {
|
||||
Apps.select { Apps.id.eq(call.parameters["appId"]!!) }
|
||||
.singleOrNull()
|
||||
transaction {
|
||||
Apps.select { Apps.id.eq(call.parameters["appId"]!!) }
|
||||
.singleOrNull()
|
||||
}
|
||||
?.let {
|
||||
call.respond(it)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue