diff --git a/src/api/manager/job/syncInventory.ts b/src/api/manager/job/syncInventory.ts index 273551e2..40ae637d 100644 --- a/src/api/manager/job/syncInventory.ts +++ b/src/api/manager/job/syncInventory.ts @@ -77,7 +77,8 @@ export async function runSyncInventory() { return { ...inventorySource, status: apiSource.status, - lastConnected: apiSource.status !== 'gone' ? new Date() : inventorySource.lastConnected + lastConnected: + apiSource.status !== 'gone' ? new Date() : inventorySource.lastConnected } satisfies WithId; });