From c43222a74d088e7df01242fbee5c998f037062e9 Mon Sep 17 00:00:00 2001 From: n8Ninja Date: Sat, 4 May 2024 14:29:23 +0200 Subject: [PATCH] refactor(google): Correct spelling mistake --- .../Analytics/v1/GoogleAnalyticsV1.node.ts | 12 ++++++------ .../Google/Analytics/v2/methods/loadOptions.ts | 18 +++++++++--------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packages/nodes-base/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.ts b/packages/nodes-base/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.ts index 9f38d2a55a8cd..4fb4a91ae25d2 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v1/GoogleAnalyticsV1.node.ts @@ -96,15 +96,15 @@ export class GoogleAnalyticsV1 implements INodeType { 'https://www.googleapis.com/analytics/v3/metadata/ga/columns', ); - for (const dimesion of dimensions) { + for (const dimension of dimensions) { if ( - dimesion.attributes.type === 'DIMENSION' && - dimesion.attributes.status !== 'DEPRECATED' + dimension.attributes.type === 'DIMENSION' && + dimension.attributes.status !== 'DEPRECATED' ) { returnData.push({ - name: dimesion.attributes.uiName, - value: dimesion.id, - description: dimesion.attributes.description, + name: dimension.attributes.uiName, + value: dimension.id, + description: dimension.attributes.description, }); } } diff --git a/packages/nodes-base/nodes/Google/Analytics/v2/methods/loadOptions.ts b/packages/nodes-base/nodes/Google/Analytics/v2/methods/loadOptions.ts index bf52999692401..8a3ceffad121d 100644 --- a/packages/nodes-base/nodes/Google/Analytics/v2/methods/loadOptions.ts +++ b/packages/nodes-base/nodes/Google/Analytics/v2/methods/loadOptions.ts @@ -13,12 +13,12 @@ export async function getDimensions(this: ILoadOptionsFunctions): Promise