From 3b523ac7f119232bfcc2a6239fc0650e70a7defc Mon Sep 17 00:00:00 2001 From: Katie Kroell Date: Tue, 24 Sep 2024 13:40:43 -0400 Subject: [PATCH] updates --- src/global-methods.js | 10 +++++----- src/helpers/logger.js | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/global-methods.js b/src/global-methods.js index f60e63ba..b720328b 100644 --- a/src/global-methods.js +++ b/src/global-methods.js @@ -59,11 +59,11 @@ export default { const sessionKey = getSessionKeyValue(); const headers = { [headerKeys.EXPERIMENT]: JSON.stringify(store.experimentSettings), - [headerKeys.APPLICATION_NAME]: JSON.stringify(applicationConfig.APPLICATION_NAME), - [headerKeys.TRANSACTION_ID]: JSON.stringify(store.order.payment.creditCardToken.transactionId), - [headerKeys.EON]: JSON.stringify(store.order.eon), - [headerKeys.REFERRAL_SEQUENCE_NUMBER]: JSON.stringify(store.order.referralSequenceNumber), - [headerKeys.SESSION_SEQUENCE_NUMBER]: JSON.stringify(sessionKey) + [headerKeys.APPLICATION_NAME]: applicationConfig.APPLICATION_NAME, + [headerKeys.TRANSACTION_ID]: store.order.payment.creditCardToken.transactionId, + [headerKeys.EON]: store.order.eon, + [headerKeys.REFERRAL_SEQUENCE_NUMBER]: store.order.referralSequenceNumber, + [headerKeys.SESSION_SEQUENCE_NUMBER]: sessionKey }; axios({ diff --git a/src/helpers/logger.js b/src/helpers/logger.js index f21449b9..c124b1c2 100644 --- a/src/helpers/logger.js +++ b/src/helpers/logger.js @@ -70,11 +70,11 @@ export class Logger { applicationConfig.CONSUMER_CF_DISTRO + applicationConfig.FRONTEND_LOGGER_PATH; const headers = { [headerKeys.EXPERIMENT]: JSON.stringify(store.experimentSettings), - [headerKeys.APPLICATION_NAME]: JSON.stringify(applicationConfig.APPLICATION_NAME), - [headerKeys.TRANSACTION_ID]: JSON.stringify(store.order.payment.creditCardToken.transactionId), - [headerKeys.EON]: JSON.stringify(store.order.eon), - [headerKeys.REFERRAL_SEQUENCE_NUMBER]: JSON.stringify(store.order.referralSequenceNumber), - [headerKeys.SESSION_SEQUENCE_NUMBER]: JSON.stringify(sessionKey) + [headerKeys.APPLICATION_NAME]: applicationConfig.APPLICATION_NAME, + [headerKeys.TRANSACTION_ID]: store.order.payment.creditCardToken.transactionId, + [headerKeys.EON]: store.order.eon, + [headerKeys.REFERRAL_SEQUENCE_NUMBER]: store.order.referralSequenceNumber, + [headerKeys.SESSION_SEQUENCE_NUMBER]: sessionKey }; axios({