@fluxhub/fluxhub-lib 19.0.68 → 19.0.70

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.
@@ -8753,12 +8753,15 @@ class FileService {
8753
8753
  this.url = this.app_s.API_ENDPOINT + this.app_s.FILE_ENDPOINT;
8754
8754
  }
8755
8755
  url = null;
8756
- doQuery(queryp, displayError = true) {
8756
+ doQuery(queryp, displayError = true, url = null) {
8757
8757
  this.headers = new HttpHeaders({
8758
8758
  "Content-Type": "application/json",
8759
8759
  Authorization: "Bearer " + localStorage.getItem(this.app_s.COMPANY_KEY + "token"),
8760
8760
  });
8761
- this.url = this.app_s.API_ENDPOINT + this.app_s.FILE_ENDPOINT;
8761
+ if (url != null)
8762
+ this.url = url;
8763
+ else
8764
+ this.url = this.app_s.API_ENDPOINT + this.app_s.FILE_ENDPOINT;
8762
8765
  // console.log('FileService url: '+ this.url);
8763
8766
  let post_v = JSON.stringify(queryp);
8764
8767
  // console.log(post_v);
@@ -36296,7 +36299,7 @@ class QueryOpenService {
36296
36299
  "Content-Type": "application/json"
36297
36300
  });
36298
36301
  if (url_sec == null)
36299
- this.url = this.app_s.API_ENDPOINT + this.app_s.QUERY_ENDPOINT;
36302
+ this.url = this.app_s.API_ENDPOINT + this.app_s.OPEN_QUERY_ENDPOINT;
36300
36303
  else
36301
36304
  this.url = url_sec;
36302
36305
  // console.log('QueryService url: '+ this.url);