🐛 Fix bug paginating databases and users (#1907)

This commit is contained in:
Ricardo Espinoza
2021-06-22 17:59:04 -04:00
committed by GitHub
parent c21c8b3369
commit 92a2e863f3
2 changed files with 7 additions and 4 deletions

View File

@@ -47,7 +47,6 @@ import {
databasePageFields,
databasePageOperations,
} from './DatabasePageDescription';
import { getServers } from 'dns';
export class Notion implements INodeType {
description: INodeTypeDescription = {
@@ -323,7 +322,6 @@ export class Notion implements INodeType {
if (operation === 'getAll') {
for (let i = 0; i < length; i++) {
const body: IDataObject = {
page_size: 100,
filter: { property: 'object', value: 'database' },
};
const returnAll = this.getNodeParameter('returnAll', i) as boolean;