CSR-514 Save experiments

This commit is contained in:
Katie 2022-08-15 12:22:38 -04:00
parent 080d2ac28e
commit 0dffdea153
2 changed files with 3 additions and 1 deletions

View file

@ -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"
};

View file

@ -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)
});
},