diff --git a/examples/v7-edge-functions/functions/planetscale-database.js b/examples/v7-edge-functions/functions/planetscale-database.js index 9f37333c0..b1f038677 100644 --- a/examples/v7-edge-functions/functions/planetscale-database.js +++ b/examples/v7-edge-functions/functions/planetscale-database.js @@ -28,7 +28,7 @@ export async function handleHttpRequest(request, context) { // message: `Total number of records: ${totalCount}`, // }); - const response = new Response('foo', { + const response = new Response(JSON.stringify(context.geo, null, 2), { headers: { 'content-type': 'application/json; charset=utf-8', },