From a1129f99dfb4214713d5812e1b94b2099e701ba9 Mon Sep 17 00:00:00 2001 From: Tristan Lee Date: Wed, 16 Aug 2023 10:33:05 -0400 Subject: [PATCH] WIP --- examples/v7-edge-functions/functions/planetscale-database.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', },