This commit is contained in:
Sneha 2024-09-10 19:17:57 +05:30
parent 1821f89685
commit e09248e98b
2 changed files with 2 additions and 0 deletions

View file

@ -1,3 +1,4 @@
export const headerKeys = {
EXPERIMENT: "X-Experiment-Data",
APPLICATION_NAME: "AppName",
};

View file

@ -60,6 +60,7 @@ export default {
const payloadAndAnalyticsData = Object.assign({}, payload, { AppName: "FixMyGlass" });
const headers = {
[headerKeys.EXPERIMENT]: JSON.stringify(store.getters.experimentSettings),
[headerKeys.APPLICATION_NAME]: applicationConfig.APPLICATION_NAME,
};
axios({