Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkav committed Sep 4, 2024
1 parent 67d33fb commit a8f4883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/insomnia/src/utils/url/querystring.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export const buildQueryParameter = (

// Keep equal sign if strictNullHandling and param value is empty string, see https://github.com/Kong/insomnia/issues/2111
if (!strict || param.value || (strictNullHandling && param.value === '')) {
if(!encodeParams) {
if (!encodeParams) {
return `${param.name}=${param.value}`;
}
// Don't encode ',' in values
Expand Down

0 comments on commit a8f4883

Please sign in to comment.