fix(Wait Node): Append n8n attribution option (#10585)

This commit is contained in:
Michael Kret
2024-08-30 16:28:25 +03:00
committed by GitHub
parent ccb553a550
commit 81f4322d45
7 changed files with 25 additions and 26 deletions

View File

@@ -14,6 +14,7 @@ import { createTransport } from 'nodemailer';
import type SMTPTransport from 'nodemailer/lib/smtp-transport';
import { updateDisplayOptions } from '@utils/utilities';
import { appendAttributionOption } from '../../../utils/descriptions';
const properties: INodeProperties[] = [
// TODO: Add choice for text as text or html (maybe also from name)
@@ -137,11 +138,7 @@ const properties: INodeProperties[] = [
default: {},
options: [
{
// eslint-disable-next-line n8n-nodes-base/node-param-display-name-miscased
displayName: 'Append n8n Attribution',
name: 'appendAttribution',
type: 'boolean',
default: true,
...appendAttributionOption,
description:
'Whether to include the phrase “This email was sent automatically with n8n” to the end of the email',
},