Skip to content

Commit

Permalink
fix(Gmail Node): Remove duplicate options when creating drafts (#9299)
Browse files Browse the repository at this point in the history
  • Loading branch information
Joffcom committed May 3, 2024
1 parent 7bda92c commit bfb0eb7
Showing 1 changed file with 8 additions and 43 deletions.
51 changes: 8 additions & 43 deletions packages/nodes-base/nodes/Google/Gmail/v2/DraftDescription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,49 +116,6 @@ export const draftFields: INodeProperties[] = [
},
default: {},
options: [
{
displayName: 'To Email',
name: 'sendTo',
type: 'string',
default: '',
placeholder: 'info@example.com',
description:
'The email addresses of the recipients. Multiple addresses can be separated by a comma. e.g. jay@getsby.com, jon@smith.com.',
},
{
displayName: 'BCC',
name: 'bccList',
type: 'string',
description:
'The email addresses of the blind copy recipients. Multiple addresses can be separated by a comma. e.g. jay@getsby.com, jon@smith.com.',
placeholder: 'info@example.com',
default: '',
},
{
displayName: 'CC',
name: 'ccList',
type: 'string',
description:
'The email addresses of the copy recipients. Multiple addresses can be separated by a comma. e.g. jay@getsby.com, jon@smith.com.',
placeholder: 'info@example.com',
default: '',
},
{
displayName: 'Send Replies To',
name: 'replyTo',
type: 'string',
placeholder: 'reply@example.com',
default: '',
description: 'The email address that the reply message is sent to',
},
{
displayName: 'Thread ID',
name: 'threadId',
type: 'string',
placeholder: '18cc573e2431878f',
default: '',
description: 'The identifier of the thread to attach the draft',
},
{
displayName: 'Attachments',
name: 'attachmentsUi',
Expand Down Expand Up @@ -223,6 +180,14 @@ export const draftFields: INodeProperties[] = [
default: '',
description: 'The email address that the reply message is sent to',
},
{
displayName: 'Thread ID',
name: 'threadId',
type: 'string',
placeholder: '18cc573e2431878f',
default: '',
description: 'The identifier of the thread to attach the draft',
},
{
displayName: 'To Email',
name: 'sendTo',
Expand Down

0 comments on commit bfb0eb7

Please sign in to comment.