merchi_sdk_js 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/model.js +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "merchi_sdk_js",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "type": "module",
5
5
  "main": "src/merchi.js",
6
6
  "module": "src/merchi.js",
package/src/model.js CHANGED
@@ -415,6 +415,9 @@ export function getList(resource, success, error, parameters, withUpdates) {
415
415
  if (notEmpty(parameters.relatedJob)) {
416
416
  request.query().add('related_job', parameters.relatedJob);
417
417
  }
418
+ if (notEmpty(parameters.relatedJobs)) {
419
+ request.query().add('related_jobs', parameters.relatedJobs);
420
+ }
418
421
  if (notEmpty(parameters.relatedProduct)) {
419
422
  request.query().add('related_product', parameters.relatedProduct);
420
423
  }