BREAKING refactor: detach request from handler context (#114)

This commit is contained in:
Leo Kettmeir
2022-03-06 18:25:50 +01:00
committed by GitHub
parent 4556d2116d
commit cf48eafa9a
8 changed files with 45 additions and 33 deletions
+1 -3
View File
@@ -1,7 +1,5 @@
import { HandlerContext } from "../../../server.ts";
export const handler = {
GET(_ctx: HandlerContext) {
GET() {
throw Error("it errored!");
},
};