@dataggo/node-akeneo-api 1.2.1 → 1.2.2

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.
@@ -34,6 +34,6 @@ const getOne = (http, _a) => {
34
34
  };
35
35
  exports.getOne = getOne;
36
36
  const getAll = (http, params) => raw_1.default.getAllByPage(http, `/api/rest/v1/categories`, {
37
- params,
37
+ params: Object.assign({}, params.query),
38
38
  });
39
39
  exports.getAll = getAll;
@@ -14,5 +14,7 @@ export const getOne = (http, { code, ...params }) => raw.getOne(http, `/api/rest
14
14
  params,
15
15
  });
16
16
  export const getAll = (http, params) => raw.getAllByPage(http, `/api/rest/v1/categories`, {
17
- params,
17
+ params: {
18
+ ...params.query,
19
+ },
18
20
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataggo/node-akeneo-api",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "description": "A Node Rest Client for the Akeneo PIM",
5
5
  "author": "Dataggo <contact@dataggo>",
6
6
  "license": "MIT",