Skip to content

Commit

Permalink
⚡ Small improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
RicardoE105 committed Jun 13, 2022
1 parent 5191056 commit acdb842
Showing 1 changed file with 19 additions and 5 deletions.
24 changes: 19 additions & 5 deletions packages/nodes-base/nodes/Twilio/Twilio.node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,8 @@ export class Twilio implements INodeType {
},
options: [
{
name: 'Make Phone Call',
name: 'Make',
value: 'make',
description: 'Uses text-to-speech to say a message',
},
],
default: 'make',
Expand Down Expand Up @@ -175,17 +174,32 @@ export class Twilio implements INodeType {
show: {
operation: [
'send',
'make',
],
resource: [
'sms',
'call',
],
},
},
description: 'The message to send',
},

{
displayName: 'Message (TwiML)',
name: 'message',
type: 'string',
default: '',
required: true,
displayOptions: {
show: {
operation: [
'make',
],
resource: [
'call',
],
},
},
description: 'Message using the <a href="https://www.twilio.com/docs/voice/twiml">Twilio Markup Language</a>',
},
{
displayName: 'Options',
name: 'options',
Expand Down

0 comments on commit acdb842

Please sign in to comment.