Skip to content

Commit

Permalink
update: change endpoints for typeresource
Browse files Browse the repository at this point in the history
  • Loading branch information
agostinofiscale committed Jul 13, 2024
1 parent cd7c37a commit 0250e77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/TypeResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ class TypeResource extends BaseResource
public function all(): array
{
return $this->get(
url: 'core/regions'
url: 'core/types'
);
}

public function byId(int|string $id): array
{
return $this->get(
url: "core/regions/{$id}"
url: "core/types/{$id}"
);
}

Expand Down

0 comments on commit 0250e77

Please sign in to comment.