Update packages/database/src/queries/messages/helpers/merge-entries.ts

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
dal 2025-08-22 17:37:34 -06:00 committed by GitHub
parent 77cd39b151
commit 948a07ec72
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export function mergeResponseMessages(
// Create a map of new messages by ID
const updateMap = new Map<string, ChatMessageResponseMessage>();
const updateIds = new Set<string>();
const updateMap = new Map<string, ChatMessageResponseMessage>();
for (const msg of updates) {
updateMap.set(msg.id, msg);