@fluxhub/fluxhub-lib 19.0.69 → 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
|
-
|
|
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);
|