Skip to content

Commit

Permalink
feat(http): handler on Call instead of Route
Browse files Browse the repository at this point in the history
  • Loading branch information
LizAinslie committed Nov 1, 2024
1 parent a5d6f84 commit 4121c6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ abstract class Call(
val queryParams by uri.queryParam

suspend fun handle() {
route.handlers[method]?.invoke(route)
route.handlers[method]?.invoke(this)
}
}

0 comments on commit 4121c6d

Please sign in to comment.