Skip to content

Commit 90b45b7

Browse files
committed
fix(fathom): return metadata from getDocument (carried via header cache) for tag consistency
1 parent 33a7f03 commit 90b45b7

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

apps/sim/connectors/fathom/fathom.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ interface FathomMeetingHeader {
105105
team?: string
106106
sourceUrl?: string
107107
contentHash: string
108+
metadata: FathomMeetingMetadata
108109
}
109110

110111
/**
@@ -193,6 +194,7 @@ function buildHeader(meeting: FathomMeeting): FathomMeetingHeader {
193194
team: meeting.recorded_by?.team ?? undefined,
194195
sourceUrl: buildSourceUrl(meeting),
195196
contentHash: buildContentHash(meeting),
197+
metadata: buildMetadata(meeting),
196198
}
197199
}
198200

@@ -507,6 +509,7 @@ export const fathomConnector: ConnectorConfig = {
507509
mimeType: 'text/plain',
508510
sourceUrl: header?.sourceUrl,
509511
contentHash: header?.contentHash ?? `fathom:${externalId}`,
512+
metadata: { ...(header?.metadata ?? { recordingId: externalId }) },
510513
}
511514
} catch (error) {
512515
logger.warn('Failed to get Fathom meeting', {

0 commit comments

Comments
 (0)