chore: lint
This commit is contained in:
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user