This commit is contained in:
adueck 2024-11-27 23:26:28 +05:00
parent 1a1a56cf3f
commit dbf96d5341
1 changed files with 3 additions and 1 deletions

View File

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