diff --git a/package.json b/package.json index e995f7e..0467d2d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@craftzing/akeneo-api", - "version": "1.0.8", + "version": "1.0.9", "description": "A Node Rest Client for the Akeneo PIM", "author": "Jens Verbeken ", "license": "MIT", diff --git a/src/endpoints/attribute.ts b/src/endpoints/attribute.ts index dea3607..78c27a6 100644 --- a/src/endpoints/attribute.ts +++ b/src/endpoints/attribute.ts @@ -38,7 +38,7 @@ export const getAll = ( http: AxiosInstance, { query = {} }: { query?: AttributeQueryParameters }, ): Promise => - raw.getAllBySearchAfter(http, `/api/rest/v1/attributes`, { + raw.getAllByPage(http, `/api/rest/v1/attributes`, { params: query, });