Add author field to post resource on WordPress Node (#958)

This commit is contained in:
Ricardo Espinoza
2020-09-16 02:33:59 -04:00
committed by GitHub
parent 181ba3c4e2
commit 615a44726d
4 changed files with 37 additions and 3 deletions

View File

@@ -84,6 +84,16 @@ export const postFields = [
},
},
options: [
{
displayName: 'Author ID',
name: 'authorId',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getAuthors',
},
default: '',
description: 'The ID for the author of the object.',
},
{
displayName: 'Content',
name: 'content',
@@ -287,6 +297,16 @@ export const postFields = [
},
},
options: [
{
displayName: 'Author ID',
name: 'authorId',
type: 'options',
typeOptions: {
loadOptionsMethod: 'getAuthors',
},
default: '',
description: 'The ID for the author of the object.',
},
{
displayName: 'Title',
name: 'title',