Skip to content

Commit

Permalink
add mixpanel token to api
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiAbdou committed Sep 5, 2024
1 parent de06599 commit b1d6c16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/api/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ STUDENT_PROFILE_URL=http://localhost:3000
# MAILCHIMP_API_KEY=
# MAILCHIMP_AUDIENCE_ID=
# MAILCHIMP_SERVER_PREFIX=
# MIXPANEL_TOKEN=
# OPENAI_API_KEY=
# PINECONE_API_KEY=
# POSTMARK_API_TOKEN=
Expand Down
2 changes: 2 additions & 0 deletions apps/api/src/shared/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const BaseEnvironmentConfig = z.object({
MAILCHIMP_API_KEY: EnvironmentVariable,
MAILCHIMP_AUDIENCE_ID: EnvironmentVariable,
MAILCHIMP_SERVER_PREFIX: EnvironmentVariable,
MIXPANEL_TOKEN: EnvironmentVariable,
OPENAI_API_KEY: EnvironmentVariable,
PINECONE_API_KEY: EnvironmentVariable,
PORT: z.coerce.number(),
Expand Down Expand Up @@ -74,6 +75,7 @@ const EnvironmentConfig = z.discriminatedUnion('ENVIRONMENT', [
MAILCHIMP_API_KEY: true,
MAILCHIMP_AUDIENCE_ID: true,
MAILCHIMP_SERVER_PREFIX: true,
MIXPANEL_TOKEN: true,
OPENAI_API_KEY: true,
PINECONE_API_KEY: true,
POSTMARK_API_TOKEN: true,
Expand Down

0 comments on commit b1d6c16

Please sign in to comment.