mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 04:47:29 -08:00
⚡ Change displayName to Cisco by Webex (#2058)
* ⚡ change displayName to Cisco by Webex * ⚡ Change default name back Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
This commit is contained in:
parent
244a2ba409
commit
8971910209
|
@ -33,7 +33,7 @@ import * as moment from 'moment-timezone';
|
|||
|
||||
export class CiscoWebex implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'Cisco Webex',
|
||||
displayName: 'Webex by Cisco',
|
||||
name: 'ciscoWebex',
|
||||
icon: 'file:ciscoWebex.png',
|
||||
group: ['transform'],
|
||||
|
@ -41,7 +41,7 @@ export class CiscoWebex implements INodeType {
|
|||
subtitle: '={{$parameter["operation"] + ": " + $parameter["resource"]}}',
|
||||
description: 'Consume the Cisco Webex API',
|
||||
defaults: {
|
||||
name: 'Cisco Webex',
|
||||
name: 'Webex',
|
||||
color: '#29b6f6',
|
||||
},
|
||||
credentials: [
|
||||
|
|
|
@ -24,7 +24,7 @@ import {
|
|||
|
||||
export class CiscoWebexTrigger implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
displayName: 'Cisco Webex Trigger',
|
||||
displayName: 'Webex by Cisco Trigger',
|
||||
name: 'ciscoWebexTrigger',
|
||||
icon: 'file:ciscoWebex.png',
|
||||
group: ['trigger'],
|
||||
|
@ -32,7 +32,7 @@ export class CiscoWebexTrigger implements INodeType {
|
|||
subtitle: '={{$parameter["resource"] + ":" + $parameter["event"]}}',
|
||||
description: 'Starts the workflow when Cisco Webex events occur.',
|
||||
defaults: {
|
||||
name: 'Cisco Webex Trigger',
|
||||
name: 'Webex Trigger',
|
||||
color: '#29b6f6',
|
||||
},
|
||||
inputs: [],
|
||||
|
@ -662,7 +662,7 @@ export class CiscoWebexTrigger implements INodeType {
|
|||
const headers = this.getHeaderData() as IDataObject;
|
||||
const req = this.getRequestObject();
|
||||
const resolveData = this.getNodeParameter('resolveData', false) as boolean;
|
||||
|
||||
|
||||
//@ts-ignore
|
||||
const computedSignature = createHmac('sha1', webhookData.secret).update(req.rawBody).digest('hex');
|
||||
if (headers['x-spark-signature'] !== computedSignature) {
|
||||
|
|
Loading…
Reference in a new issue