From a35876e7a99de74f9741331ea6c64e77cd1c61cb Mon Sep 17 00:00:00 2001 From: Mitch Ryan Date: Mon, 8 Jul 2024 13:55:20 +0200 Subject: [PATCH] Remove redundant params reassignment --- src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 53cfcc71..3d0da3c2 100755 --- a/src/index.ts +++ b/src/index.ts @@ -225,7 +225,6 @@ class Storyblok { params: ISbStoriesParams = {}, fetchOptions?: ISbCustomFetch ): Promise { - if (!params) params = {} as ISbStoriesParams const url = `/${slug}` const query = this.factoryParamOptions(url, params)