From ef0ced88dc4e46adab361dd4ee6b61e94c2295c9 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Fri, 17 Nov 2023 11:59:37 +0100 Subject: [PATCH] fix: update google sheet cols --- src/lib/helpers/sheets.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/helpers/sheets.ts b/src/lib/helpers/sheets.ts index 0470e60..16bb192 100644 --- a/src/lib/helpers/sheets.ts +++ b/src/lib/helpers/sheets.ts @@ -4,7 +4,6 @@ const { GOOGLE_SHEET_ID, GOOGLE_APPLICATION_CREDENTIALS } = env; const auth = GOOGLE_APPLICATION_CREDENTIALS && new google.auth.GoogleAuth({ keyFile: GOOGLE_APPLICATION_CREDENTIALS, //the key file - //url to spreadsheets API scopes: 'https://www.googleapis.com/auth/spreadsheets' }); @@ -106,7 +105,7 @@ export async function addPerson({ name, confidence, noble_name }: { name: string range: 'Gäste', //range of cells to read from. valueInputOption: 'RAW', resource: { - values: [[name, `${Number(confidence).toFixed(2).replace(".", ",")}%`, '', '', '', '', '', '', '', noble_name]] + values: [[name, `${Number(confidence).toFixed(2).replace(".", ",")}%`, '', '', '', noble_name]] } }); }