Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
adueck committed Nov 27, 2024
1 parent df685c3 commit 1a1a56c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions account/src/lib/submissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,8 @@ const reviewTasksDb = nano.db.use("review-tasks");

const auth = new google.auth.GoogleAuth({
credentials: {
// IMPORTANT!! have to have key stored in Base64 because of the
// weirdness of node handling spaces in the key (at least there was on AWS)
private_key: Buffer.from(
env.lingdocsServiceAccountEmail,
"base64"
).toString("ascii"),
client_email: env.lingdocsServiceAccountKey,
private_key: env.lingdocsServiceAccountKey,
client_email: env.lingdocsServiceAccountEmail,
},
scopes: [
"https://www.googleapis.com/auth/spreadsheets",
Expand Down

0 comments on commit 1a1a56c

Please sign in to comment.