iticket-seatingplan-dev 0.0.1 → 0.0.3
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.
|
@@ -154,10 +154,10 @@ const SeatingPlan = _ref => {
|
|
|
154
154
|
};
|
|
155
155
|
(0, _react.useEffect)(() => {
|
|
156
156
|
if (!position && !error) {
|
|
157
|
-
fetch("https://ecommerce-main-
|
|
157
|
+
fetch("https://ecommerce-main-f0c3c0b.d2.zuplo.dev/ecommerce/v1/events/".concat(eventId, "/showings/").concat(showingUid, "/seats?priceage=").concat(priceAgeId), {
|
|
158
158
|
headers: {
|
|
159
159
|
'session-id': sessionId,
|
|
160
|
-
|
|
160
|
+
Authorization: "Bearer ".concat(apiKey)
|
|
161
161
|
}
|
|
162
162
|
}).then(response => response.json() || null).then(data => {
|
|
163
163
|
const img = new Image();
|
|
@@ -359,7 +359,7 @@ const SeatingPlan = _ref => {
|
|
|
359
359
|
repeatCount: "indefinite"
|
|
360
360
|
})))), /*#__PURE__*/_react.default.createElement("div", {
|
|
361
361
|
style: {
|
|
362
|
-
|
|
362
|
+
marginTop: '2rem'
|
|
363
363
|
}
|
|
364
364
|
}, "Initialising seating plan...")));
|
|
365
365
|
};
|