@nuskin/ns-shop 7.0.5-cx1-13272.14 → 7.0.5-cx1-13272.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/salesEventService.js +1 -2
package/package.json
CHANGED
package/src/salesEventService.js
CHANGED
|
@@ -658,7 +658,6 @@ function _getHeaders(noCache = false) {
|
|
|
658
658
|
}
|
|
659
659
|
|
|
660
660
|
async function _getActiveEvents() {
|
|
661
|
-
myAlert(`headers, ${JSON.stringify(_getHeaders(true))}`)
|
|
662
661
|
let response = await axios({
|
|
663
662
|
method: 'GET',
|
|
664
663
|
url: `${_getAwsUrl()}?activeWithin=${ACTIVE_EVENT_WITHIN}`,
|
|
@@ -836,7 +835,7 @@ async function _initializePolling() {
|
|
|
836
835
|
if (window.location.pathname === '/static/checkout/checkout.html') {
|
|
837
836
|
// check for missing tickets. Only perform on checkout s
|
|
838
837
|
const activeEvents = await _getActiveEvents();
|
|
839
|
-
myAlert(`Active Event check, ${JSON.stringify(activeEvents)}`);
|
|
838
|
+
myAlert(`Active Event check, ${JSON.stringify(activeEvents.map(ae => ae.eventName))}`);
|
|
840
839
|
|
|
841
840
|
for (const eventInfo of activeEvents) {
|
|
842
841
|
await _checkForMissingTicket(eventInfo.eventName);
|