We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9d2bd30 + a539a23 commit 3f9f2d4Copy full SHA for 3f9f2d4
lib/stack/contentType/entry/index.js
@@ -29,7 +29,8 @@ export function Entry (http, data) {
29
if (this.apiVersion && !this.stackHeaders.api_version) {
30
this.stackHeaders.api_version = this.apiVersion;
31
}
32
- Object.assign(this, cloneDeep(data.entry))
+ const { stackHeaders, ...entryData } = data.entry;
33
+ Object.assign(this, cloneDeep(entryData))
34
this.urlPath = `/content_types/${this.content_type_uid}/entries/${this.uid}`
35
36
/**
0 commit comments