Skip to content

Commit c73e75c

Browse files
committed
fix(kb): remove message count from outlook contentHash to prevent list/get divergence
1 parent 71d1d54 commit c73e75c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sim/connectors/outlook/outlook.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ export const outlookConnector: ConnectorConfig = {
473473
contentDeferred: true,
474474
mimeType: 'text/plain',
475475
sourceUrl,
476-
contentHash: `outlook:${convId}:${lastDate}:${msgs.length}`,
476+
contentHash: `outlook:${convId}:${lastDate}`,
477477
metadata: {},
478478
})
479479
}
@@ -532,7 +532,7 @@ export const outlookConnector: ConnectorConfig = {
532532
contentDeferred: false,
533533
mimeType: 'text/plain',
534534
sourceUrl: firstWithLink?.webLink || 'https://outlook.office.com/mail/inbox',
535-
contentHash: `outlook:${externalId}:${lastDate}:${messages.length}`,
535+
contentHash: `outlook:${externalId}:${lastDate}`,
536536
metadata: result.metadata,
537537
}
538538
} catch (error) {

0 commit comments

Comments
 (0)