From 5c8c17418bcf26e33aff014e15cb2de5f96c7f12 Mon Sep 17 00:00:00 2001 From: Akhil Meka Date: Tue, 27 Jan 2026 13:51:13 +0530 Subject: [PATCH] feat: org tagging bug fix --- 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 30635b4..dd65852 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()}}`, + `{{${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}}`, + `{{${process.env.SUNCOAST_ID}}}`, ); } });