Fixed data generator not setting posts.plaintext
value
no issue - without `plaintext` set the API will not add generated excerpts to responses
This commit is contained in:
parent
66f7911d24
commit
f9cc2bec0d
@ -81,6 +81,7 @@ class PostsImporter extends TableImporter {
|
||||
])
|
||||
}),
|
||||
html: content.map(paragraph => `<p>${paragraph}</p>`).join(''),
|
||||
plaintext: content.join('\n\n'),
|
||||
email_recipient_filter: 'all',
|
||||
newsletter_id: this.type === 'post' && status === 'published' && luck(90) ? (visibility === 'paid' ? this.newsletters[0].id : this.newsletters[1].id) : null
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user