Skip to content

Commit 483a5a9

Browse files
committed
Build
1 parent 4ebcf90 commit 483a5a9

File tree

6 files changed

+4732
-271
lines changed

6 files changed

+4732
-271
lines changed

packages/cubejs-client-core/dist/cubejs-client-core.esm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,13 +1075,13 @@ function () {
10751075
}).reduce(function (a, b) {
10761076
return _objectSpread2({}, a, {}, b);
10771077
}, {}));
1078-
var spanCounter = 1;
1078+
var spanCounter = 1; // Currently, all methods make GET requests. If a method makes a request with a body payload,
1079+
// remember to add a 'Content-Type' header.
10791080

10801081
var runRequest = function runRequest() {
10811082
return fetch("".concat(_this.apiUrl, "/").concat(method).concat(searchParams.toString().length ? "?".concat(searchParams) : ''), {
10821083
headers: _objectSpread2({
10831084
Authorization: _this.authorization,
1084-
'Content-Type': 'application/json',
10851085
'x-request-id': baseRequestId && "".concat(baseRequestId, "-span-").concat(spanCounter++)
10861086
}, _this.headers)
10871087
});

packages/cubejs-client-core/dist/cubejs-client-core.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,13 +1081,13 @@ function () {
10811081
}).reduce(function (a, b) {
10821082
return _objectSpread2({}, a, {}, b);
10831083
}, {}));
1084-
var spanCounter = 1;
1084+
var spanCounter = 1; // Currently, all methods make GET requests. If a method makes a request with a body payload,
1085+
// remember to add a 'Content-Type' header.
10851086

10861087
var runRequest = function runRequest() {
10871088
return fetch("".concat(_this.apiUrl, "/").concat(method).concat(searchParams.toString().length ? "?".concat(searchParams) : ''), {
10881089
headers: _objectSpread2({
10891090
Authorization: _this.authorization,
1090-
'Content-Type': 'application/json',
10911091
'x-request-id': baseRequestId && "".concat(baseRequestId, "-span-").concat(spanCounter++)
10921092
}, _this.headers)
10931093
});

0 commit comments

Comments
 (0)