mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
minor fix
This commit is contained in:
parent
807db166fd
commit
a6e40aaebe
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue