diff --git a/.github/workflows/drift-check.yml b/.github/workflows/drift-check.yml index 7f2ffc5..e21f3bd 100644 --- a/.github/workflows/drift-check.yml +++ b/.github/workflows/drift-check.yml @@ -25,11 +25,7 @@ jobs: - name: Run Drift Check env: - STRICTNESS: ${{ - github.ref == 'refs/heads/main' && 'fail' || - (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && 'fail' || - 'warn' - }} + STRICTNESS: ${{ github.ref == 'refs/heads/main' && 'fail' || (github.ref == 'refs/heads/develop' || github.event_name == 'pull_request') && 'fail' || 'warn' }} INFISICAL_TOKEN: ${{ secrets.INFISICAL_TOKEN }} NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ vars.NETLIFY_SITE_ID }} diff --git a/netlify/functions/sendgrid-integration.js b/netlify/functions/sendgrid-integration.js index 72b6def..40628bb 100644 --- a/netlify/functions/sendgrid-integration.js +++ b/netlify/functions/sendgrid-integration.js @@ -220,6 +220,7 @@ function buildAlphaDynamicData(seat) { first_task_url: seat.first_task_url || `${MAIN_SITE_URL}${CANONICAL_FIRST_TIME_PATH}?seat_id=${encodeURIComponent(canonicalSeatId)}&tuj_code=${encodeURIComponent(tujCode)}`, secondary_url: seat.secondary_url || `${MAIN_SITE_URL}${CANONICAL_RETURN_PATH}?seat_id=${encodeURIComponent(canonicalSeatId)}&tuj_code=${encodeURIComponent(tujCode)}&flight_id=${encodeURIComponent(flightCode)}`, unsubscribe_url: seat.unsubscribe_url || getTrimmedEnv('SENDGRID_UNSUBSCRIBE_URL') || `${MAIN_SITE_URL}/unsubscribe`, + platform_url: MAIN_SITE_URL, boarding_type: 'alpha', boardingtype: 'alpha', seats_reserved: 'F5-04' @@ -250,6 +251,7 @@ function buildVipDynamicData(seat) { first_task_url: seat.first_task_url || `${MAIN_SITE_URL}${CANONICAL_FIRST_TIME_PATH}?seat_id=${encodeURIComponent(canonicalSeatId)}&tuj_code=${encodeURIComponent(tujCode)}`, secondary_url: seat.secondary_url || `${MAIN_SITE_URL}${CANONICAL_RETURN_PATH}?seat_id=${encodeURIComponent(canonicalSeatId)}&tuj_code=${encodeURIComponent(tujCode)}&flight_id=${encodeURIComponent(flightCode)}`, unsubscribe_url: seat.unsubscribe_url || getTrimmedEnv('SENDGRID_UNSUBSCRIBE_URL') || `${MAIN_SITE_URL}/unsubscribe`, + platform_url: MAIN_SITE_URL, boarding_type: 'vip', boardingtype: 'vip', seats_reserved: 'F5-04',