Skip to content

Commit

Permalink
Fix issue with attributes array
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellknapen committed Nov 14, 2022
1 parent 08af282 commit a8a2aa4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/endpoints/attribute.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const getAll = (
http: AxiosInstance,
{ query = {} }: { query?: AttributeQueryParameters },
): Promise<ListResponse & { items: Attribute[] }> =>
raw.getAllBySearchAfter(http, `/api/rest/v1/attributes`, {
raw.getAllByPage(http, `/api/rest/v1/attributes`, {
params: query,
});

Expand Down

0 comments on commit a8a2aa4

Please sign in to comment.