fix: Google Contacts node warm up request, Google Calendar node events>getAll fields option (#10700)
This commit is contained in:
@@ -656,6 +656,15 @@ export const eventFields: INodeProperties[] = [
|
||||
default: '',
|
||||
description: 'At least some part of the event must be before this time',
|
||||
},
|
||||
{
|
||||
displayName: 'Fields',
|
||||
name: 'fields',
|
||||
type: 'string',
|
||||
placeholder: 'e.g. items(ID,status,summary)',
|
||||
default: '',
|
||||
description:
|
||||
"Specify fields to return, by default a predefined by Google set of commonly used fields would be returned. To return all fields, use '*', <a href='https://developers.google.com/calendar/api/guides/performance#partial' target='_blank'>more info</a>.",
|
||||
},
|
||||
{
|
||||
displayName: 'iCalUID',
|
||||
name: 'iCalUID',
|
||||
|
||||
@@ -436,6 +436,10 @@ export class GoogleCalendar implements INodeType {
|
||||
if (options.updatedMin) {
|
||||
qs.updatedMin = addTimezoneToDate(options.updatedMin as string, tz || timezone);
|
||||
}
|
||||
if (options.fields) {
|
||||
qs.fields = options.fields as string;
|
||||
}
|
||||
|
||||
if (returnAll) {
|
||||
responseData = await googleApiRequestAllItems.call(
|
||||
this,
|
||||
|
||||
Reference in New Issue
Block a user