-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
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.
Metadata
Metadata
Assignees
Labels
No labels