From 72610e8aa56dabafc579356f1c962424eb26c9a3 Mon Sep 17 00:00:00 2001 From: Edson Amaya Date: Wed, 15 Mar 2023 16:56:29 -0600 Subject: [PATCH] Fix issue 309 (#310) * Updated config.yml * Fix issue 309 on validation about Fullstory --- .circleci/config.yml | 2 +- src/consent-manager-builder/fetch-destinations.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index be30d9f8..752a100c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2 jobs: build: docker: - - image: circleci/node:10 + - image: circleci/node:14 steps: - checkout - restore_cache: diff --git a/src/consent-manager-builder/fetch-destinations.ts b/src/consent-manager-builder/fetch-destinations.ts index 7fee3493..bbab2a2c 100644 --- a/src/consent-manager-builder/fetch-destinations.ts +++ b/src/consent-manager-builder/fetch-destinations.ts @@ -21,7 +21,7 @@ async function fetchDestinationForWriteKey( // Rename creationName to id to abstract the weird data model for (const destination of destinations) { // Because of the legacy Fullstory integration the creationName for this integration is the `name` - if (destination.name === 'Fullstory (Actions)') { + if (destination.name === 'Fullstory') { destination.id = destination.name } else { destination.id = destination.creationName