From 82e02926d39f9f0f1ac1333a488627a306301b3b Mon Sep 17 00:00:00 2001 From: nael Date: Mon, 11 Mar 2024 14:25:53 +0100 Subject: [PATCH] :green_heart: Fix ci :wq --- .github/workflows/docker.yml | 4 ++++ packages/api/src/crm/contact/utils/index.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3b3942992..6a5d5ee38 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -19,6 +19,10 @@ jobs: REDIS_HOST: ${{ secrets.REDIS_HOST }} NEXT_PUBLIC_BACKEND_DOMAIN: ${{ secrets.NEXT_PUBLIC_BACKEND_DOMAIN }} NEXT_PUBLIC_FRONTEND_DOMAIN: ${{ secrets.NEXT_PUBLIC_FRONTEND_DOMAIN }} + NEXT_PUBLIC_STYTCH_PROJECT_ID: ${{ secrets.NEXT_PUBLIC_STYTCH_PROJECT_ID }} + NEXT_PUBLIC_STYTCH_SECRET: ${{ secrets.NEXT_PUBLIC_STYTCH_SECRET }} + NEXT_PUBLIC_STYTCH_PROJECT_ENV: ${{ secrets.NEXT_PUBLIC_STYTCH_PROJECT_ENV }} + NEXT_PUBLIC_STYTCH_PUBLIC_TOKEN: ${{ secrets.NEXT_PUBLIC_STYTCH_PUBLIC_TOKEN }} steps: - uses: actions/checkout@v3 - uses: isbang/compose-action@v1.5.1 diff --git a/packages/api/src/crm/contact/utils/index.ts b/packages/api/src/crm/contact/utils/index.ts index 4e0b8a19e..e7ced2ea9 100644 --- a/packages/api/src/crm/contact/utils/index.ts +++ b/packages/api/src/crm/contact/utils/index.ts @@ -12,7 +12,7 @@ export class Utils { normalizeEmailsAndNumbers(email_addresses: Email[], phone_numbers: Phone[]) { let normalizedEmails = []; - let normalizedPhones = []; + const normalizedPhones = []; if (email_addresses) { normalizedEmails = email_addresses.map((email) => ({