mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-13 13:57:29 -08:00
Merge branch 'oauth-support' into feature/google-calendar-node
This commit is contained in:
commit
3c7fe2da97
|
@ -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.',
|
||||
|
|
|
@ -89,7 +89,7 @@ export class GoogleCalendar implements INodeType {
|
|||
async getColors(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
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({
|
||||
|
|
Loading…
Reference in a new issue