[fix] backup error
This commit is contained in:
@@ -29,7 +29,7 @@ async function drive(request, env){
|
|||||||
const json = await resp.json()
|
const json = await resp.json()
|
||||||
|
|
||||||
if(json.access_token && json.expires_in){
|
if(json.access_token && json.expires_in){
|
||||||
return new Response(json, {
|
return new Response(JSON.stringify(json), {
|
||||||
status: 200,
|
status: 200,
|
||||||
headers: headerE
|
headers: headerE
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user