@appbaseio/reactivesearch-vue 1.24.0 → 1.24.2

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.
@@ -15745,7 +15745,7 @@
15745
15745
  paramsString = '?' + querystring.stringify(params);
15746
15746
  }
15747
15747
 
15748
- var finalURL = _this.mongodb ? _this.protocol + '://' + _this.url : _this.protocol + '://' + _this.url + '/' + app + '/' + path + paramsString;
15748
+ var finalURL = isMongoRequest ? _this.protocol + '://' + _this.url : _this.protocol + '://' + _this.url + '/' + app + '/' + path + paramsString;
15749
15749
  return handleTransformRequest(Object.assign({}, {
15750
15750
  url: finalURL
15751
15751
  }, requestOptions)).then(function (ts) {
@@ -15782,7 +15782,7 @@
15782
15782
 
15783
15783
  if (data) {
15784
15784
  Object.keys(data).forEach(function (key) {
15785
- if (data[key] && Object.prototype.hasOwnProperty.call(data[key], 'error')) {
15785
+ if (data[key] && Object.prototype.hasOwnProperty.call(data[key], 'error') && !!data[key].error) {
15786
15786
  errorResponses += 1;
15787
15787
  }
15788
15788
  });
@@ -26308,7 +26308,7 @@
26308
26308
  });
26309
26309
  }
26310
26310
 
26311
- var version = "1.24.0";
26311
+ var version = "1.24.2";
26312
26312
 
26313
26313
  var _templateObject$n, _templateObject2$a;
26314
26314