Skip to content

Commit

Permalink
fix: Adjusted return type of getSeoUrls
Browse files Browse the repository at this point in the history
  • Loading branch information
patzick committed Jan 25, 2023
1 parent 2c42fe7 commit 29deb04
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-dots-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@shopware-pwa/api-client": patch
---

adjusted return type of getSeoUrls
5 changes: 1 addition & 4 deletions packages/api-client/src/services/pageService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@ export async function getSeoUrls(
languageId?: string,
contextInstance: ShopwareApiInstance = defaultInstance
): Promise<
{
apiAlias: string;
seoPathInfo: string;
}[]
EntityResult<"seo_url", { apiAlias: string; seoPathInfo: string }[]>
> {
if (languageId) {
contextInstance.defaults.headers.common["sw-language-id"] = languageId;
Expand Down

0 comments on commit 29deb04

Please sign in to comment.