diff --git a/CHANGELOG.md b/CHANGELOG.md index cd7b92d4..8abd625d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # Changelog +## [v1.21.7](https://github.com/contentstack/contentstack-management-javascript/tree/v1.21.7) (2025-06-30) + - Fix + - Fixed Request-URI Too Large error ## [v1.21.6](https://github.com/contentstack/contentstack-management-javascript/tree/v1.21.6) (2025-06-11) - Fix diff --git a/lib/entity.js b/lib/entity.js index 8088f720..cf8ac93b 100644 --- a/lib/entity.js +++ b/lib/entity.js @@ -157,11 +157,6 @@ export const update = (http, type, params = {}) => { delete json.updated_at delete json.updated_by - // If param has data for this entity type, merge it with the json object - if (param && param[type]) { - Object.assign(json, param[type]) - } - if (type) { updateData[type] = json if (type === 'entry') updateData[type] = cleanAssets(updateData[type]) diff --git a/package-lock.json b/package-lock.json index dca00a45..a1c14318 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@contentstack/management", - "version": "1.21.6", + "version": "1.21.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@contentstack/management", - "version": "1.21.6", + "version": "1.21.7", "license": "MIT", "dependencies": { "assert": "^2.1.0", diff --git a/package.json b/package.json index a5fe22ae..376be90e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@contentstack/management", - "version": "1.21.6", + "version": "1.21.7", "description": "The Content Management API is used to manage the content of your Contentstack account", "main": "./dist/node/contentstack-management.js", "browser": "./dist/web/contentstack-management.js",