From 279df6a2f1edf3705ff11fbbebde69f4853100a9 Mon Sep 17 00:00:00 2001 From: Pontus Abrahamsson Date: Tue, 15 Oct 2024 17:09:29 +0200 Subject: [PATCH] Add last_accessed --- packages/jobs/src/transactions/sync.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/jobs/src/transactions/sync.ts b/packages/jobs/src/transactions/sync.ts index ba153a591..287db841a 100644 --- a/packages/jobs/src/transactions/sync.ts +++ b/packages/jobs/src/transactions/sync.ts @@ -201,6 +201,7 @@ client.defineJob({ const newErrorRetries = currentErrorRetries + 1; updateData = { + last_accessed: new Date().toISOString(), status: connectionStatus.status, error_details: connectionStatus.errorDetails, };