diff --git a/functions/gcloud.ts b/functions/gcloud.ts index a73a21d..676594b 100644 --- a/functions/gcloud.ts +++ b/functions/gcloud.ts @@ -64,8 +64,7 @@ export async function GetAccessToken(env: Env): Promise { exp: Math.floor(Date.now() / 1000) + 120, iat: Math.floor(Date.now() / 1000), iss: env.WORKER_GSERVICEACCOUNT, - scope: - "https://www.googleapis.com/auth/datastore https://www.googleapis.com/auth/devstorage.read_write", + scope: "https://www.googleapis.com/auth/cloud-platform", }), ) .replaceAll("+", "-")