Skip to content

Commit

Permalink
Remove search after from category and attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellknapen committed Nov 8, 2022
1 parent 3a47c76 commit 08af282
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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.7",
"version": "1.0.8",
"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 @@ -52,6 +52,6 @@ export const getOptions = (
query,
}: { attributeCode: string; query?: AttributeOptionQueryParameters },
): Promise<ListResponse & { items: AttributeOption[] }> =>
raw.getAllBySearchAfter(http, `/api/rest/v1/attributes/${attributeCode}/options`, {
raw.getAllByPage(http, `/api/rest/v1/attributes/${attributeCode}/options`, {
params: query,
});
2 changes: 1 addition & 1 deletion src/endpoints/category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ export const getAll = (
http: AxiosInstance,
params: { query?: CategoryQueryParameters },
): Promise<ListResponse & { items: Category[] }> =>
raw.getAllBySearchAfter(http, `/api/rest/v1/categories`, {
raw.getAllByPage(http, `/api/rest/v1/categories`, {
params,
});

0 comments on commit 08af282

Please sign in to comment.