fix(doc): example code should return the response (#1727)

This commit is contained in:
hashrock
2023-09-04 09:53:30 +09:00
committed by GitHub
parent 3858f5ad03
commit 729ac073ca
+1 -1
View File
@@ -98,7 +98,7 @@ interface Data {
export const handler: Handlers<Data> = { export const handler: Handlers<Data> = {
async GET(req, ctx) { async GET(req, ctx) {
const value = await loadFooValue(); const value = await loadFooValue();
ctx.render({ foo: value }); return ctx.render({ foo: value });
}, },
}; };