tf-checkout-react 1.6.6-beta.12 → 1.6.6-beta.13

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.
@@ -1692,7 +1692,7 @@ var getCustomFields = /*#__PURE__*/function () {
1692
1692
  while (1) switch (_context3.prev = _context3.next) {
1693
1693
  case 0:
1694
1694
  _context3.next = 2;
1695
- return publicRequest.get("/v1/event/" + eventId + "/custom_fields");
1695
+ return publicRequest.get("/v1/event/" + eventId + "/fields");
1696
1696
  case 2:
1697
1697
  response = _context3.sent;
1698
1698
  customFields = _get(response, 'data.data.attributes', []);
@@ -2068,7 +2068,7 @@ var withCustomFields = function withCustomFields(Children) {
2068
2068
  while (1) switch (_context.prev = _context.next) {
2069
2069
  case 0:
2070
2070
  _context.prev = 0;
2071
- eventId = getQueryVariable('event_id') || '';
2071
+ eventId = getQueryVariable('event_id') || getQueryVariable("eventId") || '';
2072
2072
  _context.next = 4;
2073
2073
  return getCustomFields(eventId);
2074
2074
  case 4: