diff --git a/packages/nodes-base/nodes/Google/EventDescription.ts b/packages/nodes-base/nodes/Google/EventDescription.ts index fb1ea6a90f..e92582a847 100644 --- a/packages/nodes-base/nodes/Google/EventDescription.ts +++ b/packages/nodes-base/nodes/Google/EventDescription.ts @@ -316,7 +316,7 @@ export const eventFields = [ loadOptionsMethod: 'getTimezones', }, default: '', - description: 'The timezone the event will have set. By default events are schedule on n8n timezone ' + description: 'The timezone the event will have set. By default events are schedule on timezone set in n8n.' }, { displayName: 'Visibility', @@ -333,16 +333,16 @@ export const eventFields = [ value: 'default', description: ' Uses the default visibility for events on the calendar.', }, - { - name: 'Public', - value: 'public', - description: 'The event is public and event details are visible to all readers of the calendar.', - }, { name: 'Private', value: 'private', description: 'The event is private and only event attendees may view event details.', }, + { + name: 'Public', + value: 'public', + description: 'The event is public and event details are visible to all readers of the calendar.', + }, ], default: 'default', description: 'Visibility of the event.', diff --git a/packages/nodes-base/nodes/Google/GoogleCalendar.node.ts b/packages/nodes-base/nodes/Google/GoogleCalendar.node.ts index fa6a8b28c7..c7eb35794e 100644 --- a/packages/nodes-base/nodes/Google/GoogleCalendar.node.ts +++ b/packages/nodes-base/nodes/Google/GoogleCalendar.node.ts @@ -89,7 +89,7 @@ export class GoogleCalendar implements INodeType { async getColors(this: ILoadOptionsFunctions): Promise { const returnData: INodePropertyOptions[] = []; const { calendar } = await googleApiRequest.call(this, 'GET', '/calendar/v3/colors'); - for (let key of Object.keys(calendar)) { + for (const key of Object.keys(calendar)) { const colorName = calendar[key].background; const colorId = key; returnData.push({