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(analytics): missing meta access token (#2373)
dev-rbe8eef49d3959
diff --git a/infra/stacks/authentication-service/Pulumi.dev.yaml b/infra/stacks/authentication-service/Pulumi.dev.yamlindex a210351e1f..898a137a3d 100644--- a/infra/stacks/authentication-service/Pulumi.dev.yaml+++ b/infra/stacks/authentication-service/Pulumi.dev.yaml@@ -23,6 +23,7 @@ config:authentication-service:ga_measurement_id: G-52HPEL3FTVauthentication-service:ga_api_secret: ga-api-secretauthentication-service:meta_pixel_id: 639142540393286+ authentication-service:meta_access_token: meta-access-tokenauthentication-service:posthog_host: https://us.i.posthog.comauthentication-service:posthog_api_key: posthog-api-keyauthentication-service:stripe_price_id_haiku: stripe-price-id-haiku-devdiff --git a/infra/stacks/authentication-service/Pulumi.prod.yaml b/infra/stacks/authentication-service/Pulumi.prod.yamlindex 137479ba63..14628539fa 100644--- a/infra/stacks/authentication-service/Pulumi.prod.yaml+++ b/infra/stacks/authentication-service/Pulumi.prod.yaml@@ -23,6 +23,7 @@ config:authentication-service:ga_measurement_id: G-52HPEL3FTVauthentication-service:ga_api_secret: ga-api-secretauthentication-service:meta_pixel_id: 639142540393286+ authentication-service:meta_access_token: meta-access-tokenauthentication-service:posthog_host: https://us.i.posthog.comauthentication-service:posthog_api_key: posthog-api-keyauthentication-service:stripe_price_id_haiku: stripe-price-id-haiku-proddiff --git a/infra/stacks/authentication-service/index.ts b/infra/stacks/authentication-service/index.tsindex b692b71295..0c880a1f73 100644--- a/infra/stacks/authentication-service/index.ts+++ b/infra/stacks/authentication-service/index.ts@@ -158,9 +158,9 @@ const GA_API_SECRET: pulumi.Output<string> = aws.secretsmanagerconst META_PIXEL_ID = config.require('meta_pixel_id');-// const META_ACCESS_TOKEN: pulumi.Output<string> = aws.secretsmanager-// .getSecretVersionOutput({ secretId: config.require('meta_access_token') })-// .apply((secret) => secret.secretString);+const META_ACCESS_TOKEN: pulumi.Output<string> = aws.secretsmanager+ .getSecretVersionOutput({ secretId: config.require('meta_access_token') })+ .apply((secret) => secret.secretString);const POSTHOG_HOST = config.require('posthog_host');const POSTHOG_API_KEY: pulumi.Output<string> = aws.secretsmanager@@ -369,6 +369,10 @@ const service = new AuthenticationService('authentication-service', {name: 'GA_API_SECRET',value: pulumi.interpolate`${GA_API_SECRET}`,},+ {+ name: 'META_ACCESS_TOKEN',+ value: pulumi.interpolate`${META_ACCESS_TOKEN}`,+ },{name: 'META_PIXEL_ID',value: META_PIXEL_ID,