diff --git a/packages/nodes-base/nodes/Box/BoxTrigger.node.ts b/packages/nodes-base/nodes/Box/BoxTrigger.node.ts index f11225b2f6..8ef759a634 100644 --- a/packages/nodes-base/nodes/Box/BoxTrigger.node.ts +++ b/packages/nodes-base/nodes/Box/BoxTrigger.node.ts @@ -21,7 +21,7 @@ export class BoxTrigger implements INodeType { icon: 'file:box.png', group: ['trigger'], version: 1, - description: 'Starts the workflow when a Github events occurs.', + description: 'Starts the workflow when a Box events occurs.', defaults: { name: 'Box Trigger', color: '#00aeef', @@ -275,8 +275,6 @@ export class BoxTrigger implements INodeType { const endpoint = '/webhooks'; const webhooks = await boxApiRequestAllItems.call(this, 'entries', 'GET', endpoint, {}); - console.log(webhooks); - for (const webhook of webhooks) { if (webhook.address === webhookUrl && webhook.target.id === targetId && diff --git a/packages/nodes-base/nodes/Box/GenericFunctions.ts b/packages/nodes-base/nodes/Box/GenericFunctions.ts index ddbfd5f54b..ac635fbccc 100644 --- a/packages/nodes-base/nodes/Box/GenericFunctions.ts +++ b/packages/nodes-base/nodes/Box/GenericFunctions.ts @@ -41,8 +41,6 @@ export async function boxApiRequest(this: IExecuteFunctions | IExecuteSingleFunc return await this.helpers.requestOAuth2.call(this, 'boxOAuth2Api', options, oAuth2Options); } catch (error) { - console.log(error); - let errorMessage; if (error.response && error.response.body) {