Fix call to individual app details

Signed-off-by: William Brawner <me@wbrawner.com>
This commit is contained in:
William Brawner 2020-09-04 07:46:39 -07:00
parent 1ebd91afbc
commit 9ac2ab68dc

View file

@ -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)
}