Skip to content

Commit

Permalink
Remove redundant params reassignment
Browse files Browse the repository at this point in the history
  • Loading branch information
ryami333 committed Jul 8, 2024
1 parent a87da0f commit a35876e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ class Storyblok {
params: ISbStoriesParams = {},
fetchOptions?: ISbCustomFetch
): Promise<ISbResult> {
if (!params) params = {} as ISbStoriesParams
const url = `/${slug}`
const query = this.factoryParamOptions(url, params)

Expand Down

0 comments on commit a35876e

Please sign in to comment.