Skip to content

Commit

Permalink
feat(int-1031): Add customFetch method to Storyblok class
Browse files Browse the repository at this point in the history
- Function returns typed
  • Loading branch information
Thiago Saife Rodrigues committed Dec 27, 2023
1 parent 089dbef commit 426a440
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 @@ -168,7 +168,7 @@ class Storyblok {
url: string,
options: RequestInit,
config: ISbConfig
): Promise<any> {
): Promise<ISbResponse | ISbError> {
// Create a new SbFetch instance with the custom fetch function
const mergedConfig = {
baseURL: this.client.baseURL,
Expand Down

0 comments on commit 426a440

Please sign in to comment.