diff --git a/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts b/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts index 725ce66e8157b..826e00f678ca6 100644 --- a/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts +++ b/packages/nodes-base/nodes/Google/Calendar/EventDescription.ts @@ -216,7 +216,7 @@ export const eventFields: INodeProperties[] = [ description: 'Choose from the list, or specify an ID using an expression', typeOptions: { - loadOptionsMethod: 'getConferenceSolutations', + loadOptionsMethod: 'getConferenceSolutions', loadOptionsDependsOn: ['calendar'], }, default: '', diff --git a/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts b/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts index aa3927e756be4..6d7d92087bbb2 100644 --- a/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts +++ b/packages/nodes-base/nodes/Google/Calendar/GoogleCalendar.node.ts @@ -89,10 +89,10 @@ export class GoogleCalendar implements INodeType { loadOptions: { // Get all the calendars to display them to user so that they can // select them easily - async getConferenceSolutations(this: ILoadOptionsFunctions): Promise { + async getConferenceSolutions(this: ILoadOptionsFunctions): Promise { const returnData: INodePropertyOptions[] = []; - const calendar = this.getCurrentNodeParameter('calendar') as string; - const posibleSolutions: IDataObject = { + const calendar = this.getCurrentNodeParameter('calendar', { extractValue: true }) as string; + const possibleSolutions: IDataObject = { eventHangout: 'Google Hangout', eventNamedHangout: 'Google Hangout Classic', hangoutsMeet: 'Google Meet', @@ -106,7 +106,7 @@ export class GoogleCalendar implements INodeType { ); for (const solution of allowedConferenceSolutionTypes) { returnData.push({ - name: posibleSolutions[solution] as string, + name: possibleSolutions[solution] as string, value: solution, }); }