Skip to content

Commit

Permalink
Merge pull request #202 from contentstack/hotfix/dx-1040-fetch-entries
Browse files Browse the repository at this point in the history
fix: 🐛 Removed encode for query params
  • Loading branch information
harshithad0703 authored Aug 2, 2024
2 parents 311631a + 2d26086 commit ba842ab
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 23 deletions.
14 changes: 10 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
## Change log

### Version: 3.20.0
#### Date: May-31-2024
##### Enhanncement:
- Adds Timeline Preview changes

### Version: 3.20.3
#### Date: August-02-2024
##### HotFix:
- Removed encode for query params

### Version: 3.20.1
#### Date: July-09-2024
##### Fix:
- Type support for LivePreviewQuery method params

### Version: 3.20.0
#### Date: May-31-2024
##### Enhanncement:
- Adds Timeline Preview changes

### Version: 3.19.3
#### Date: May-17-2024
##### Enhanncement:
Expand Down
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "contentstack",
"version": "3.20.2",
"version": "3.20.3",
"description": "Contentstack Javascript SDK",
"homepage": "https://www.contentstack.com/",
"author": {
Expand Down Expand Up @@ -99,7 +99,7 @@
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"@contentstack/utils": "^1.3.8",
"@contentstack/utils": "^1.3.10",
"cheerio": "^1.0.0-rc.12",
"es6-promise": "^4.1.1",
"isomorphic-fetch": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/core/lib/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function fetchRetry(stack, queryParams, fetchOptions, resolve, reject, retryDela
}


fetch(encodeURI(request.url), request.option)
fetch(request.url, request.option)
.then( function(response) {

if (fetchOptions.debug) fetchOptions.logHandler('info', response);
Expand Down

0 comments on commit ba842ab

Please sign in to comment.