mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -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 {
|
import {
|
||||||
IExecuteFunctions,
|
IExecuteFunctions,
|
||||||
IExecuteSingleFunctions,
|
IExecuteSingleFunctions,
|
||||||
ILoadOptionsFunctions
|
ILoadOptionsFunctions,
|
||||||
} from 'n8n-core';
|
} from 'n8n-core';
|
||||||
|
|
||||||
import { IDataObject } from 'n8n-workflow';
|
import {
|
||||||
import * as _ from 'lodash';
|
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
|
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
|
// If that data does not exist for some reason return the actual error
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -75,10 +76,7 @@ export async function zoomApiRequestAllItems(
|
||||||
): Promise<any> {
|
): Promise<any> {
|
||||||
// tslint:disable-line:no-any
|
// tslint:disable-line:no-any
|
||||||
const returnData: IDataObject[] = [];
|
const returnData: IDataObject[] = [];
|
||||||
|
|
||||||
let responseData;
|
let responseData;
|
||||||
//query.maxResults = 300;
|
|
||||||
|
|
||||||
do {
|
do {
|
||||||
responseData = await zoomApiRequest.call(
|
responseData = await zoomApiRequest.call(
|
||||||
this,
|
this,
|
||||||
|
|
|
@ -36,8 +36,6 @@ export const meetingRegistrantOperations = [
|
||||||
}
|
}
|
||||||
] as INodeProperties[];
|
] as INodeProperties[];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export const meetingRegistrantFields = [
|
export const meetingRegistrantFields = [
|
||||||
/* -------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------- */
|
||||||
/* meetingRegistrants:create */
|
/* meetingRegistrants:create */
|
||||||
|
|
|
@ -29,6 +29,7 @@ import {
|
||||||
webinarOperations,
|
webinarOperations,
|
||||||
webinarFields,
|
webinarFields,
|
||||||
} from './WebinarDescription';
|
} from './WebinarDescription';
|
||||||
|
|
||||||
import * as moment from 'moment-timezone';
|
import * as moment from 'moment-timezone';
|
||||||
|
|
||||||
interface Settings {
|
interface Settings {
|
||||||
|
@ -46,8 +47,6 @@ interface Settings {
|
||||||
registration_type?: number;
|
registration_type?: number;
|
||||||
approval_type?: number;
|
approval_type?: number;
|
||||||
practice_session?: boolean;
|
practice_session?: boolean;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
export class Zoom implements INodeType {
|
export class Zoom implements INodeType {
|
||||||
description: INodeTypeDescription = {
|
description: INodeTypeDescription = {
|
||||||
|
|
Loading…
Reference in a new issue