mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
fix specific results for registrants
This commit is contained in:
parent
69a1f8af00
commit
5d98f5673f
|
@ -215,7 +215,7 @@ export class Zoom implements INodeType {
|
|||
if (returnAll) {
|
||||
responseData = await zoomApiRequestAllItems.call(this, 'meetings', 'GET', `/users/${userId}/meetings`, {}, qs);
|
||||
} else {
|
||||
qs.page_size = this.getNodeParameter('limit', i) as number;;
|
||||
qs.page_size = this.getNodeParameter('limit', i) as number;
|
||||
responseData = await zoomApiRequest.call(this, 'GET', `/users/${userId}/meetings`, {}, qs);
|
||||
|
||||
}
|
||||
|
@ -559,10 +559,9 @@ export class Zoom implements INodeType {
|
|||
if (returnAll) {
|
||||
responseData = await zoomApiRequestAllItems.call(this, 'results', 'GET', `/meetings/${meetingId}/registrants`, {}, qs);
|
||||
} else {
|
||||
const limit = this.getNodeParameter('limit', i) as number;
|
||||
qs.page_size = limit;
|
||||
qs.page_size = this.getNodeParameter('limit', i) as number;
|
||||
responseData = await zoomApiRequest.call(this, 'GET', `/meetings/${meetingId}/registrants`, {}, qs);
|
||||
responseData = responseData.results;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -708,10 +707,9 @@ export class Zoom implements INodeType {
|
|||
if (returnAll) {
|
||||
responseData = await zoomApiRequestAllItems.call(this, 'results', 'GET', `/users/${userId}/webinars`, {}, qs);
|
||||
} else {
|
||||
const limit = this.getNodeParameter('limit', i) as number;
|
||||
qs.page_size = limit;
|
||||
qs.page_size = this.getNodeParameter('limit', i) as number;
|
||||
responseData = await zoomApiRequest.call(this, 'GET', `/users/${userId}/webinars`, {}, qs);
|
||||
responseData = responseData.results;
|
||||
|
||||
}
|
||||
}
|
||||
if (operation === 'delete') {
|
||||
|
|
Loading…
Reference in a new issue