Skip to content

Commit

Permalink
fix document content structure
Browse files Browse the repository at this point in the history
  • Loading branch information
aubin-tchoi committed Mar 5, 2025
1 parent 35551e2 commit 8cccc34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/src/connectors/gong/lib/upserts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export async function syncGongTranscript({
let lastSpeakerId: string | null = null;
monologue.sentences.forEach((sentence) => {
if (monologue.speakerId !== lastSpeakerId) {
documentContent += `# ${speakerToUserMap[monologue.speakerId]?.email || "Unknown speaker"}: `;
documentContent += `# ${speakerToUserMap[monologue.speakerId]?.email || "Unknown speaker"}\n`;
lastSpeakerId = monologue.speakerId;
}
documentContent += `${sentence.text}\n`;
Expand Down

0 comments on commit 8cccc34

Please sign in to comment.