https://github.com/contentstack/contentstack-management-javascript/blob/master/jsdocs/Entry.html#L217
import * as contentstack from '@contentstack/management'
const client = contentstack.client()
client.stack({ api_key: 'api_key'}).contentType('content_type_uid').entry('uid').fetch()
.then((entry) => {
entry.title = 'My New Entry'
entry.description = 'Entry description'
return Entry.update()
})
.then((entry) => console.log(entry))
The example is using Entry, which is not defined in this context. I guess it's supposed to be entry instead. It's repeated in few examples in that document.
https://github.com/contentstack/contentstack-management-javascript/blob/master/jsdocs/Entry.html#L217
The example is using
Entry, which is not defined in this context. I guess it's supposed to beentryinstead. It's repeated in few examples in that document.