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.
@@ -1215,7 +1215,7 @@ AreaUpload.defaultProps = {
1215
1215
  hasListFiles: true
1216
1216
  };
1217
1217
 
1218
- var url = 'http://localhost:5000';
1218
+ var url = 'https://api.leia.digitalcontact.cloud';
1219
1219
  axios.defaults.baseURL = "" + url;
1220
1220
  var api = /*#__PURE__*/axios.create();
1221
1221
 
@@ -2255,8 +2255,9 @@ function TrainingSaga(action) {
2255
2255
  tag: tag
2256
2256
  }).toString();
2257
2257
  _context5.next = 9;
2258
- return call(api.post, pressets.length > 0 ? "/training?token=" + token + "&" + queryParams : "/training?token=" + token, {
2259
- files_directory: id
2258
+ return call(api.post, pressets.length > 0 ? "/training?" + queryParams : "/training", {
2259
+ files_directory: id,
2260
+ token: token
2260
2261
  });
2261
2262
  case 9:
2262
2263
  _context5.next = 11;