Skip to content

Commit

Permalink
Merge pull request #427 from storyblok/fix-int-790-fix-return-type
Browse files Browse the repository at this point in the history
fix(int 790): fix return type for getAll
  • Loading branch information
Thiago Saife authored Jan 27, 2023
2 parents 00f6312 + 9b2ad39 commit 34293f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class Storyblok {
slug: string,
params: ISbStoriesParams,
entity?: string
): Promise<ISbResult> {
): Promise<any[]> {
const perPage = params?.per_page || 25
const url = `/${slug}`
const urlParts = url.split('/')
Expand Down

0 comments on commit 34293f4

Please sign in to comment.