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 })