Hi! When I’m creating entries all appear as Untitled this is my script:
const { type, body, type2, slug } = entry;
return environment
.createEntry(createGenericObject.sys.id, {
displayField: body,
fields: {
[type]: {
'en-US': body
},
[type2]: {
'en-US': slug
}
}
})
I read that just by adding “displayField” would fix it, but it doesn’t perhaps I need to put it somewhere else ?