From 7db927b32bb73f042634c6d0ade9d84ba598ef80 Mon Sep 17 00:00:00 2001 From: Jason Gill Date: Fri, 19 Jul 2024 18:20:10 -0600 Subject: [PATCH] backwards compatibility for TCF optimization work (#5110) --- clients/fides-js/src/services/api.ts | 1 + clients/privacy-center/cypress/e2e/consent-i18n.cy.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/clients/fides-js/src/services/api.ts b/clients/fides-js/src/services/api.ts index cb738204b4..dfa27d7fdf 100644 --- a/clients/fides-js/src/services/api.ts +++ b/clients/fides-js/src/services/api.ts @@ -67,6 +67,7 @@ export const fetchExperience = async ( has_config: "true", systems_applicable: "true", include_gvl: "true", + exclude_gvl_languages: "true", // backwards compatibility for TCF optimization work include_meta: "true", ...(propertyId && { property_id: propertyId }), }; diff --git a/clients/privacy-center/cypress/e2e/consent-i18n.cy.ts b/clients/privacy-center/cypress/e2e/consent-i18n.cy.ts index 52db795c0f..5a40e07ff7 100644 --- a/clients/privacy-center/cypress/e2e/consent-i18n.cy.ts +++ b/clients/privacy-center/cypress/e2e/consent-i18n.cy.ts @@ -1525,7 +1525,7 @@ describe("Consent i18n", () => { }); it("falls back to default locale", () => { visitDemoWithI18n({ - navigatorLanguage: ENGLISH_LOCALE, + navigatorLanguage: FRENCH_LOCALE, fixture: "experience_tcf.json", options: { tcfEnabled: true }, });