mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
🐛 Bug fix for Google Calendar (#1096)
This commit is contained in:
parent
044c986f30
commit
78c846277b
|
@ -71,13 +71,6 @@ export class GoogleCalendar implements INodeType {
|
|||
|
||||
methods = {
|
||||
loadOptions: {
|
||||
|
||||
|
||||
// "conferenceProperties": {
|
||||
// "allowedConferenceSolutionTypes": [
|
||||
// "hangoutsMeet"
|
||||
// ]
|
||||
|
||||
// Get all the calendars to display them to user so that he can
|
||||
// select them easily
|
||||
async getConferenceSolutations(
|
||||
|
@ -550,11 +543,11 @@ export class GoogleCalendar implements INodeType {
|
|||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (Array.isArray(responseData)) {
|
||||
returnData.push.apply(returnData, responseData as IDataObject[]);
|
||||
} else if (responseData !== undefined) {
|
||||
returnData.push(responseData as IDataObject);
|
||||
if (Array.isArray(responseData)) {
|
||||
returnData.push.apply(returnData, responseData as IDataObject[]);
|
||||
} else if (responseData !== undefined) {
|
||||
returnData.push(responseData as IDataObject);
|
||||
}
|
||||
}
|
||||
return [this.helpers.returnJsonArray(returnData)];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue