From dbf96d5341f3deedcba6a23457a16bef44cef874 Mon Sep 17 00:00:00 2001 From: adueck Date: Wed, 27 Nov 2024 23:26:28 +0500 Subject: [PATCH] m --- account/src/lib/submissions.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/account/src/lib/submissions.ts b/account/src/lib/submissions.ts index c94c8b5..2e96dc6 100644 --- a/account/src/lib/submissions.ts +++ b/account/src/lib/submissions.ts @@ -21,7 +21,9 @@ const reviewTasksDb = nano.db.use("review-tasks"); const auth = new google.auth.GoogleAuth({ credentials: { - private_key: env.lingdocsServiceAccountKey, + private_key: Buffer.from(env.lingdocsServiceAccountKey, "base64").toString( + "ascii" + ), client_email: env.lingdocsServiceAccountEmail, }, scopes: [