n8n-nodes-fingrid 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -329,8 +329,8 @@ class Fingrid {
|
|
|
329
329
|
displayName: "Page Size",
|
|
330
330
|
name: "pageSize",
|
|
331
331
|
type: "number",
|
|
332
|
-
default:
|
|
333
|
-
description: "Rows to request per page from the API when 'Return All' is on. Fingrid
|
|
332
|
+
default: 250,
|
|
333
|
+
description: "Rows to request per page from the API when 'Return All' is on. Fingrid enforces a maximum of 250 per page.",
|
|
334
334
|
},
|
|
335
335
|
{
|
|
336
336
|
displayName: "Sort By",
|
|
@@ -152,7 +152,7 @@ async function fetchPaginated(endpoint, qs, i) {
|
|
|
152
152
|
var _a;
|
|
153
153
|
const returnAll = this.getNodeParameter("returnAll", i, false);
|
|
154
154
|
const limit = this.getNodeParameter("limit", i, 50);
|
|
155
|
-
const pageSize = qs.pageSize ||
|
|
155
|
+
const pageSize = qs.pageSize || 250;
|
|
156
156
|
const collected = [];
|
|
157
157
|
let page = 1;
|
|
158
158
|
let lastPage = 1;
|