Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix create entity id script
Hutcha36577bd9854
diff --git a/infra/stacks/opensearch/helpers/scripts/create_entity_id.ts b/infra/stacks/opensearch/helpers/scripts/create_entity_id.tsindex 086a0e1de9..90965f8624 100644--- a/infra/stacks/opensearch/helpers/scripts/create_entity_id.ts+++ b/infra/stacks/opensearch/helpers/scripts/create_entity_id.ts@@ -52,8 +52,8 @@ async function run(dryRun: boolean = true) {try {for (const index of MIGRATIONS) {const indexExists = await checkIndexExists(opensearchClient, index);- if (indexExists) {- console.log(`Index ${index} exists, skipping...`);+ if (!indexExists) {+ console.log(`Index ${index} does not exists, skipping...`);}await addFieldToIndex(opensearchClient, index, mappingUpdate, dryRun);