This commit is contained in:
parent
1a1a56cf3f
commit
dbf96d5341
|
@ -21,7 +21,9 @@ const reviewTasksDb = nano.db.use("review-tasks");
|
||||||
|
|
||||||
const auth = new google.auth.GoogleAuth({
|
const auth = new google.auth.GoogleAuth({
|
||||||
credentials: {
|
credentials: {
|
||||||
private_key: env.lingdocsServiceAccountKey,
|
private_key: Buffer.from(env.lingdocsServiceAccountKey, "base64").toString(
|
||||||
|
"ascii"
|
||||||
|
),
|
||||||
client_email: env.lingdocsServiceAccountEmail,
|
client_email: env.lingdocsServiceAccountEmail,
|
||||||
},
|
},
|
||||||
scopes: [
|
scopes: [
|
||||||
|
|
Loading…
Reference in New Issue