mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
refactor: Correct spelling mistakes (no-changelog) (#9305)
This commit is contained in:
parent
828649d7e7
commit
f4e2c695f2
|
@ -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,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,12 +13,12 @@ export async function getDimensions(this: ILoadOptionsFunctions): Promise<INodeP
|
|||
'https://www.googleapis.com/analytics/v3/metadata/ga/columns',
|
||||
);
|
||||
|
||||
for (const dimesion of dimensions) {
|
||||
if (dimesion.attributes.type === 'DIMENSION' && dimesion.attributes.status !== 'DEPRECATED') {
|
||||
for (const dimension of dimensions) {
|
||||
if (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,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -118,11 +118,11 @@ export async function getDimensionsGA4(
|
|||
{ fields: 'dimensions' },
|
||||
);
|
||||
|
||||
for (const dimesion of dimensions) {
|
||||
for (const dimension of dimensions) {
|
||||
returnData.push({
|
||||
name: dimesion.uiName as string,
|
||||
value: dimesion.apiName as string,
|
||||
description: dimesion.description as string,
|
||||
name: dimension.uiName as string,
|
||||
value: dimension.apiName as string,
|
||||
description: dimension.description as string,
|
||||
});
|
||||
}
|
||||
return sortLoadOptions(returnData);
|
||||
|
|
Loading…
Reference in a new issue