n8n-nodes-cakemail 1.0.13 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1379,7 +1379,7 @@ class Cakemail {
1379
1379
  async executeWebhookOperation(client, operation, itemIndex, options) {
1380
1380
  if (operation === 'list') {
1381
1381
  const params = {};
1382
- if (options.accountId) {
1382
+ if (options?.accountId) {
1383
1383
  params.account_id = options.accountId;
1384
1384
  }
1385
1385
  return await client.webhooks.list(params);
@@ -1717,7 +1717,7 @@ export class Cakemail implements INodeType {
1717
1717
  if (operation === 'list') {
1718
1718
  const params: any = {};
1719
1719
 
1720
- if (options.accountId) {
1720
+ if (options?.accountId) {
1721
1721
  params.account_id = options.accountId;
1722
1722
  }
1723
1723
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-cakemail",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "n8n node for Cakemail - workflow-native email platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",