Skip to content

Commit

Permalink
chore(comments): improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammadGh committed Apr 16, 2024
1 parent 7178d6e commit 730deb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/strapiFetcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function UseStrapiOfetchAdapter(config: Required<StrapiConfig>): StrapiFe
consola.warn('No explicit jwt token nor authorization header found for request')
}

// request params are encoded as query-params in the request url
// request params are encoded as query-params in the request url using qs library
if (fetchOptions.params) {
const params = stringify(fetchOptions.params, { encodeValuesOnly: true })
if (params)
Expand Down

0 comments on commit 730deb3

Please sign in to comment.