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

@@ -11,6 +11,7 @@ import type {
import { BINARY_ENCODING, NodeConnectionType, NodeOperationError } from 'n8n-workflow';
import { addAdditionalFields, apiRequest, getPropertyName } from './GenericFunctions';
import { appendAttributionOption } from '../../utils/descriptions';
export class Telegram implements INodeType {
description: INodeTypeDescription = {
@@ -1508,11 +1509,7 @@ export class Telegram implements INodeType {
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 message was sent automatically with n8n” to the end of the message',
displayOptions: {