Skip to content

Commit

Permalink
try fix key
Browse files Browse the repository at this point in the history
  • Loading branch information
shayki5 authored Sep 27, 2023
1 parent 970eb62 commit 18eb961
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/storage/sheets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,9 @@ export class GoogleSheetsStorage implements TransactionStorage {
private async initDocAndSheet() {
const {
GOOGLE_SERVICE_ACCOUNT_EMAIL: client_email,
GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY: private_key,
// GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY: private_key,
} = process.env;
const private_key: process.env.GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY.split(String.raw`\n`).join('\n')

// By default, try to automatically get credentials
// (maybe we're running in Google Cloud, who knows)
Expand Down

0 comments on commit 18eb961

Please sign in to comment.