From 54cf807f2b7153169a9d33067a314846c7142bcb Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Tue, 30 Jun 2026 11:10:19 +0000 Subject: [PATCH] correct comment following previous commit --- src/app/api/live-tracking/property-documents/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/live-tracking/property-documents/route.ts b/src/app/api/live-tracking/property-documents/route.ts index c8821de6..16e2f9ae 100644 --- a/src/app/api/live-tracking/property-documents/route.ts +++ b/src/app/api/live-tracking/property-documents/route.ts @@ -44,7 +44,7 @@ export async function GET(req: Request) { // that was already processed: same S3 key gets a new version, but a new DB row // is written each time. // - // Step 1: same s3FileKey → keep the row with the highest id (latest insert). + // Step 1: same s3FileKey → keep the row with the most recent upload timestamp. const latestByS3Key = new Map(); for (const row of rows) { const existing = latestByS3Key.get(row.s3FileKey);