From 0dffdea153667d785b020e6cca10c9cba784f681 Mon Sep 17 00:00:00 2001 From: Katie Date: Mon, 15 Aug 2022 12:22:38 -0400 Subject: [PATCH] CSR-514 Save experiments --- src/constants/application-config.js | 2 +- src/store/index.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/constants/application-config.js b/src/constants/application-config.js index 3f1979f83..f42a2c183 100644 --- a/src/constants/application-config.js +++ b/src/constants/application-config.js @@ -6,7 +6,7 @@ const applicationConfig = { SAVED_SESSION_TIMEOUT_DAYS: 45, COOKIE_PATH: "/", CURRENT_ENVIRONMENT: process.env.VUE_APP_CURRENT_ENVIRONMENT, // "Localhost", "Dev", "QA", and "Prod" - APPLICATION_NAME: "SafeliteDotCom", + APPLICATION_NAME: "FixMyGlass", SITE_ENTRY_TRIGGER_VALUE: "FixMyGlass" }; diff --git a/src/store/index.js b/src/store/index.js index 6aeca59eb..08df46cb2 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -663,6 +663,8 @@ export const actions = { method: endpoints.RunExperimentsForTrigger.method, endpoint: endpoints.RunExperimentsForTrigger.url, payload: payload, + }).then(response => { + context.commit(storeMutations.UPDATE_EXPERIMENTS, response.data.experiments) }); },