You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dist/predicthq.js
+3-11Lines changed: 3 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -22144,6 +22144,7 @@ var Client = function () {
22144
22144
_createClass(Client, [{
22145
22145
key: "request",
22146
22146
value: function request(method, path, returnClass, options) {
22147
+
var _this = this;
22147
22148
22148
22149
var access_token = this.options.access_token;
22149
22150
@@ -22162,7 +22163,7 @@ var Client = function () {
22162
22163
headers: {
22163
22164
'Authorization': 'Bearer ' + access_token,
22164
22165
'Accept': 'application/json',
22165
-
'x-user-agent': "PHQ-JS-SDK/" + version
22166
+
'X-User-Agent': "PHQ-JS-SDK/" + _this.version
22166
22167
}
22167
22168
}).then(function (response) {
22168
22169
return response.json();
@@ -22344,9 +22345,7 @@ function _inherits(subClass, superClass) {
22344
22345
if (typeof superClass !== "function" && superClass !== null) {
22345
22346
throw new TypeError("Super expression must either be null or a function, not " + (typeof superClass === "undefined" ? "undefined" : _typeof(superClass)));
0 commit comments