feat: org tagging bug fix
This commit is contained in:
@@ -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}}}`,
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user