Skip to content

Commit

Permalink
Fixed patch endpoints (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
gauquier authored Dec 6, 2024
1 parent 1e54805 commit dad10b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Component/Akeneo/Client/ApiAttributesEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ApiAttributesEndpoint implements ApiEndpointInterface
public const NAME = 'attributes';

private const ALL = 'attributes';
private const ONE = 'attributes/%s';
private const ONE = 'attributes/%code%';

public function getAll(): string
{
Expand Down
2 changes: 1 addition & 1 deletion src/Component/Akeneo/Client/ApiCategoriesEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class ApiCategoriesEndpoint implements ApiEndpointInterface
{
public const NAME = 'categories';
private const ALL = 'categories';
private const ONE = 'categories/%s';
private const ONE = 'categories/%code%';

public function getAll(): string
{
Expand Down
2 changes: 1 addition & 1 deletion src/Component/Akeneo/Client/ApiFamiliesEndpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class ApiFamiliesEndpoint implements ApiEndpointInterface
{
public const NAME = 'families';
private const ALL = 'families';
private const ONE = 'families/%s';
private const ONE = 'families/%code%';

public function getAll(): string
{
Expand Down

0 comments on commit dad10b7

Please sign in to comment.