From 428782e8a414e420c7a058ec68e6743bc7bf0e78 Mon Sep 17 00:00:00 2001 From: charlesgauthereau Date: Sun, 21 Dec 2025 11:57:07 +0100 Subject: [PATCH] Ready for 1.1.5-rc.2. Patching an api bug. --- app/api/agent/[agentId]/status/helpers.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/api/agent/[agentId]/status/helpers.ts b/app/api/agent/[agentId]/status/helpers.ts index 25adc600..394b36ce 100644 --- a/app/api/agent/[agentId]/status/helpers.ts +++ b/app/api/agent/[agentId]/status/helpers.ts @@ -66,10 +66,11 @@ export async function handleDatabases(body: Body, agent: Agent, lastContact: Dat const [databaseUpdated] = await dbClient .update(drizzleDb.schemas.database) - .set({ + .set(withUpdatedAt({ + name: db.name, agentId: agent.id, lastContact: lastContact - }) + })) .where(eq(drizzleDb.schemas.database.id, existingDatabase.id)) .returning();