mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
minor fix
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
import { OptionsWithUri } from 'request';
|
||||
import {
|
||||
OptionsWithUri,
|
||||
} from 'request';
|
||||
|
||||
import {
|
||||
IExecuteFunctions,
|
||||
IExecuteSingleFunctions,
|
||||
ILoadOptionsFunctions
|
||||
ILoadOptionsFunctions,
|
||||
} from 'n8n-core';
|
||||
|
||||
import { IDataObject } from 'n8n-workflow';
|
||||
import * as _ from 'lodash';
|
||||
import {
|
||||
IDataObject,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
export async function zoomApiRequest(this: IExecuteFunctions | IExecuteSingleFunctions | ILoadOptionsFunctions, method: string, resource: string, body: object = {}, query: object = {}, headers: {} | undefined = undefined, option: {} = {}): Promise<any> { // tslint:disable-line:no-any
|
||||
|
||||
@@ -60,8 +63,6 @@ export async function zoomApiRequest(this: IExecuteFunctions | IExecuteSingleFun
|
||||
// If that data does not exist for some reason return the actual error
|
||||
throw error;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -75,10 +76,7 @@ export async function zoomApiRequestAllItems(
|
||||
): Promise<any> {
|
||||
// tslint:disable-line:no-any
|
||||
const returnData: IDataObject[] = [];
|
||||
|
||||
let responseData;
|
||||
//query.maxResults = 300;
|
||||
|
||||
do {
|
||||
responseData = await zoomApiRequest.call(
|
||||
this,
|
||||
|
||||
@@ -36,8 +36,6 @@ export const meetingRegistrantOperations = [
|
||||
}
|
||||
] as INodeProperties[];
|
||||
|
||||
|
||||
|
||||
export const meetingRegistrantFields = [
|
||||
/* -------------------------------------------------------------------------- */
|
||||
/* meetingRegistrants:create */
|
||||
|
||||
@@ -29,6 +29,7 @@ import {
|
||||
webinarOperations,
|
||||
webinarFields,
|
||||
} from './WebinarDescription';
|
||||
|
||||
import * as moment from 'moment-timezone';
|
||||
|
||||
interface Settings {
|
||||
@@ -46,8 +47,6 @@ interface Settings {
|
||||
registration_type?: number;
|
||||
approval_type?: number;
|
||||
practice_session?: boolean;
|
||||
|
||||
|
||||
}
|
||||
export class Zoom implements INodeType {
|
||||
description: INodeTypeDescription = {
|
||||
|
||||
Reference in New Issue
Block a user