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.
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import './style.css';
3
- import { IActionColumns, ITicketTypes } from './ticketsTable';
4
3
  import { ThemeOptions } from "@mui/material";
5
4
  import { CSSProperties } from "@mui/styles";
5
+ import { IActionColumns, ITicketTypes } from './ticketsTable';
6
6
  interface OrderDetailsTypes {
7
7
  columns: Array<{
8
8
  label: string;
@@ -1699,7 +1699,7 @@ var getCustomFields = /*#__PURE__*/function () {
1699
1699
  while (1) switch (_context3.prev = _context3.next) {
1700
1700
  case 0:
1701
1701
  _context3.next = 2;
1702
- return publicRequest.get("/v1/event/" + eventId + "/custom_fields");
1702
+ return publicRequest.get("/v1/event/" + eventId + "/fields");
1703
1703
  case 2:
1704
1704
  response = _context3.sent;
1705
1705
  customFields = _get(response, 'data.data.attributes', []);
@@ -2075,7 +2075,7 @@ var withCustomFields = function withCustomFields(Children) {
2075
2075
  while (1) switch (_context.prev = _context.next) {
2076
2076
  case 0:
2077
2077
  _context.prev = 0;
2078
- eventId = getQueryVariable('event_id') || '';
2078
+ eventId = getQueryVariable('event_id') || getQueryVariable("eventId") || '';
2079
2079
  _context.next = 4;
2080
2080
  return getCustomFields(eventId);
2081
2081
  case 4: