From 25d43bec5498f3186aba4b3ad89147b4fce09a13 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Fri, 18 Oct 2024 00:30:58 +0530 Subject: [PATCH] chore: lint --- server/src/workflow-management/integrations/gsheet.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/workflow-management/integrations/gsheet.ts b/server/src/workflow-management/integrations/gsheet.ts index 82fc6370..e68d9bfb 100644 --- a/server/src/workflow-management/integrations/gsheet.ts +++ b/server/src/workflow-management/integrations/gsheet.ts @@ -59,7 +59,7 @@ export async function updateGoogleSheet(robotId: string, runId: string) { const spreadsheetId = plainRobot.google_sheet_id; if (plainRobot.google_sheet_email && spreadsheetId) { console.log(`Preparing to write data to Google Sheet for robot: ${robotId}, spreadsheetId: ${spreadsheetId}`); - + const headers = Object.keys(data[0]); const rows = data.map((row: { [key: string]: any }) => Object.values(row)); const outputData = [headers, ...rows];