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]] } }); }