Skip to content

Commit

Permalink
get all attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
jensdev committed Mar 18, 2021
1 parent 7e1bc2d commit ba90f5c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [1.0.3] - 2021-03-18

### Changed

- getting attributes was not correctly getting all options

## [1.0.2] - 2021-03-08

### Changed
Expand Down
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.2",
"version": "1.0.3",
"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.get(http, `/api/rest/v1/attributes/${attributeCode}/options`, {
raw.getAllByPage(http, `/api/rest/v1/attributes/${attributeCode}/options`, {
params: query,
});

0 comments on commit ba90f5c

Please sign in to comment.