minor fix

This commit is contained in:
shraddha shaligram 2020-06-23 12:27:47 -07:00
parent 807db166fd
commit a6e40aaebe
3 changed files with 8 additions and 13 deletions

View file

@ -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,

View file

@ -36,8 +36,6 @@ export const meetingRegistrantOperations = [
}
] as INodeProperties[];
export const meetingRegistrantFields = [
/* -------------------------------------------------------------------------- */
/* meetingRegistrants:create */

View file

@ -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 = {