code7-leia 0.2.4 → 0.2.6

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.
@@ -1223,7 +1223,7 @@ AreaUpload.defaultProps = {
1223
1223
  hasListFiles: true
1224
1224
  };
1225
1225
 
1226
- var url = 'http://localhost:5000';
1226
+ var url = 'https://api.leia.digitalcontact.cloud';
1227
1227
  axios.defaults.baseURL = "" + url;
1228
1228
  var api = /*#__PURE__*/axios.create();
1229
1229
 
@@ -2263,8 +2263,9 @@ function TrainingSaga(action) {
2263
2263
  tag: tag
2264
2264
  }).toString();
2265
2265
  _context5.next = 9;
2266
- return effects.call(api.post, pressets.length > 0 ? "/training?token=" + token + "&" + queryParams : "/training?token=" + token, {
2267
- files_directory: id
2266
+ return effects.call(api.post, pressets.length > 0 ? "/training?" + queryParams : "/training", {
2267
+ files_directory: id,
2268
+ token: token
2268
2269
  });
2269
2270
  case 9:
2270
2271
  _context5.next = 11;