From e4158645f5a60b14c56fd15f34a3c7765352ca32 Mon Sep 17 00:00:00 2001 From: regalijan Date: Thu, 19 Oct 2023 16:50:55 -0400 Subject: [PATCH] Export GetAccessToken method --- functions/gcloud.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/gcloud.ts b/functions/gcloud.ts index d39264f..8a6492e 100644 --- a/functions/gcloud.ts +++ b/functions/gcloud.ts @@ -64,7 +64,7 @@ export async function GenerateUploadURL( return url; } -async function GetAccessToken(env: Env): Promise { +export async function GetAccessToken(env: Env): Promise { const claimSet = btoa( JSON.stringify({ aud: "https://oauth2.googleapis.com/token",