Skip to content

Commit 66ed31a

Browse files
Merge pull request #378 from contentstack/fix/dx-3102
Fixed Request-URI Too Large error
2 parents 4f37811 + e9d62b9 commit 66ed31a

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
# Changelog
2+
## [v1.21.7](https://github.com/contentstack/contentstack-management-javascript/tree/v1.21.7) (2025-06-30)
3+
- Fix
4+
- Fixed Request-URI Too Large error
25

36
## [v1.21.6](https://github.com/contentstack/contentstack-management-javascript/tree/v1.21.6) (2025-06-11)
47
- Fix

lib/entity.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,6 @@ export const update = (http, type, params = {}) => {
157157
delete json.updated_at
158158
delete json.updated_by
159159

160-
// If param has data for this entity type, merge it with the json object
161-
if (param && param[type]) {
162-
Object.assign(json, param[type])
163-
}
164-
165160
if (type) {
166161
updateData[type] = json
167162
if (type === 'entry') updateData[type] = cleanAssets(updateData[type])

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@contentstack/management",
3-
"version": "1.21.6",
3+
"version": "1.21.7",
44
"description": "The Content Management API is used to manage the content of your Contentstack account",
55
"main": "./dist/node/contentstack-management.js",
66
"browser": "./dist/web/contentstack-management.js",

0 commit comments

Comments
 (0)