From a79df81b42fa5cd597b35a01cd90864433b3198c Mon Sep 17 00:00:00 2001 From: kwaroran Date: Sat, 27 May 2023 03:51:23 +0900 Subject: [PATCH] [fix] backup error --- functions/drive.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/drive.js b/functions/drive.js index 80fbc858..197bd908 100644 --- a/functions/drive.js +++ b/functions/drive.js @@ -29,7 +29,7 @@ async function drive(request, env){ const json = await resp.json() if(json.access_token && json.expires_in){ - return new Response(json, { + return new Response(JSON.stringify(json), { status: 200, headers: headerE })