From 7ba1f5ca6a86e5d3e516630c379c2e2bd1f0dc91 Mon Sep 17 00:00:00 2001 From: Akhil Meka Date: Tue, 27 Jan 2026 14:33:43 +0530 Subject: [PATCH] feat: add org- prefix to org ids in notes --- src/note/note.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/note/note.service.ts b/src/note/note.service.ts index dd65852..2a20ece 100644 --- a/src/note/note.service.ts +++ b/src/note/note.service.ts @@ -44,7 +44,7 @@ export async function createNote( orgs.push({ orgId: obj.client.toString(), taggedAt: new Date() }); noteContent = noteContent.replaceAll( "{{client}}", - `{{${obj.client.toString()}}}`, + `{{org-${obj.client.toString()}}}`, ); } @@ -52,7 +52,7 @@ export async function createNote( orgs.push({ orgId: process.env.SUNCOAST_ID, taggedAt: new Date() }); noteContent = noteContent.replaceAll( "{{agent}}", - `{{${process.env.SUNCOAST_ID}}}`, + `{{org-${process.env.SUNCOAST_ID}}}`, ); } });