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: [