chore: lint

This commit is contained in:
karishmas6
2024-10-17 21:00:35 +05:30
parent 874fbdcf9b
commit ce60e083e7

View File

@@ -53,7 +53,7 @@ export async function updateGoogleSheet(robotId: string, runId: string) {
const spreadsheetId = robot.google_sheet_id const spreadsheetId = robot.google_sheet_id
if (robot.google_sheet_email && spreadsheetId ) { if (robot.google_sheet_email && spreadsheetId) {
// Convert data to Google Sheets format (headers and rows) // Convert data to Google Sheets format (headers and rows)
const headers = Object.keys(data[0]); const headers = Object.keys(data[0]);
const rows = data.map((row: { [key: string]: any }) => Object.values(row)); const rows = data.map((row: { [key: string]: any }) => Object.values(row));