We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 26da7a6 commit e7752d5Copy full SHA for e7752d5
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