From f847e9b4cae3dc2d1d51f7ae8668a17af9d92ff4 Mon Sep 17 00:00:00 2001 From: Will Freeman Date: Mon, 6 Jan 2025 22:23:56 -0700 Subject: [PATCH] use filename in csv --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 8392986..7567d16 100644 --- a/src/index.ts +++ b/src/index.ts @@ -39,7 +39,7 @@ const csvWriter = createObjectCsvWriter({ { id: 'model', title: 'Model' }, { id: 'color', title: 'Color' }, { id: 'licensePlateNumber', title: 'License Plate Number' }, - { id: 'imagePath', title: 'Image Path' } + { id: 'filename', title: 'Filename' } ] }); @@ -91,7 +91,7 @@ systems.forEach((host) => { model, color: vehicleColor, licensePlateNumber: licensePlate, - filename: filename, + filename, }; const hitJson = JSON.stringify(hit, null, 2);