@osovitny/anatoly 2.0.27 → 2.0.28
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.
- package/bundles/osovitny-anatoly.umd.js +4 -8
- package/bundles/osovitny-anatoly.umd.js.map +1 -1
- package/bundles/osovitny-anatoly.umd.min.js +1 -1
- package/bundles/osovitny-anatoly.umd.min.js.map +1 -1
- package/esm2015/lib/core/interceptors/httpInterceptor.js +1 -1
- package/esm2015/lib/data/base/base-api.service.js +7 -9
- package/fesm2015/osovitny-anatoly.js +4 -8
- package/fesm2015/osovitny-anatoly.js.map +1 -1
- package/lib/data/base/base-api.service.d.ts +1 -1
- package/osovitny-anatoly.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -1008,14 +1008,10 @@
|
|
|
1008
1008
|
BaseApiService.prototype.getAll = function (data) {
|
|
1009
1009
|
return this.get('getall', data).pipe(operators.map(function (res) { return res; }));
|
|
1010
1010
|
};
|
|
1011
|
-
BaseApiService.prototype.getJsonFile = function (fileName
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
if (!jsonVersion) {
|
|
1016
|
-
jsonVersion = '1.0';
|
|
1017
|
-
}
|
|
1018
|
-
var url = jsonUrl + '/' + fileName + '?' + jsonVersion;
|
|
1011
|
+
BaseApiService.prototype.getJsonFile = function (fileName) {
|
|
1012
|
+
var jsonsUrl = AppCoreSettings.jsonsUrl;
|
|
1013
|
+
var jsonVersion = AppCoreSettings.jsonVersion;
|
|
1014
|
+
var url = jsonsUrl + '/' + fileName + '?' + jsonVersion;
|
|
1019
1015
|
return this.http.get(url).pipe(operators.map(function (res) { return res; }));
|
|
1020
1016
|
};
|
|
1021
1017
|
return BaseApiService;
|