@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.
@@ -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, jsonUrl, jsonVersion) {
1012
- if (!jsonUrl) {
1013
- jsonUrl = '/dist/jsons';
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;