mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 19:11:13 +00:00
refactor: Correct spelling mistakes (no-changelog) (#9305)
This commit is contained in:
@@ -96,15 +96,15 @@ export class GoogleAnalyticsV1 implements INodeType {
|
|||||||
'https://www.googleapis.com/analytics/v3/metadata/ga/columns',
|
'https://www.googleapis.com/analytics/v3/metadata/ga/columns',
|
||||||
);
|
);
|
||||||
|
|
||||||
for (const dimesion of dimensions) {
|
for (const dimension of dimensions) {
|
||||||
if (
|
if (
|
||||||
dimesion.attributes.type === 'DIMENSION' &&
|
dimension.attributes.type === 'DIMENSION' &&
|
||||||
dimesion.attributes.status !== 'DEPRECATED'
|
dimension.attributes.status !== 'DEPRECATED'
|
||||||
) {
|
) {
|
||||||
returnData.push({
|
returnData.push({
|
||||||
name: dimesion.attributes.uiName,
|
name: dimension.attributes.uiName,
|
||||||
value: dimesion.id,
|
value: dimension.id,
|
||||||
description: dimesion.attributes.description,
|
description: dimension.attributes.description,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,12 +13,12 @@ export async function getDimensions(this: ILoadOptionsFunctions): Promise<INodeP
|
|||||||
'https://www.googleapis.com/analytics/v3/metadata/ga/columns',
|
'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') {
|
if (dimension.attributes.type === 'DIMENSION' && dimension.attributes.status !== 'DEPRECATED') {
|
||||||
returnData.push({
|
returnData.push({
|
||||||
name: dimesion.attributes.uiName,
|
name: dimension.attributes.uiName,
|
||||||
value: dimesion.id,
|
value: dimension.id,
|
||||||
description: dimesion.attributes.description,
|
description: dimension.attributes.description,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -118,11 +118,11 @@ export async function getDimensionsGA4(
|
|||||||
{ fields: 'dimensions' },
|
{ fields: 'dimensions' },
|
||||||
);
|
);
|
||||||
|
|
||||||
for (const dimesion of dimensions) {
|
for (const dimension of dimensions) {
|
||||||
returnData.push({
|
returnData.push({
|
||||||
name: dimesion.uiName as string,
|
name: dimension.uiName as string,
|
||||||
value: dimesion.apiName as string,
|
value: dimension.apiName as string,
|
||||||
description: dimesion.description as string,
|
description: dimension.description as string,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
return sortLoadOptions(returnData);
|
return sortLoadOptions(returnData);
|
||||||
|
|||||||
Reference in New Issue
Block a user