n8n-nodes-fingrid 0.2.8 → 0.2.10
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.
|
@@ -296,13 +296,7 @@ class Fingrid {
|
|
|
296
296
|
default: true,
|
|
297
297
|
displayOptions: {
|
|
298
298
|
show: {
|
|
299
|
-
operation: [
|
|
300
|
-
"search",
|
|
301
|
-
"getData",
|
|
302
|
-
"getFileData",
|
|
303
|
-
"getMany",
|
|
304
|
-
"getUpdated",
|
|
305
|
-
],
|
|
299
|
+
operation: ["getData", "getFileData", "getMany", "getUpdated"],
|
|
306
300
|
},
|
|
307
301
|
},
|
|
308
302
|
description: "Whether to return a simplified version of the response instead of the raw data",
|
|
@@ -393,7 +387,6 @@ class Fingrid {
|
|
|
393
387
|
? await GenericFunctions_1.fetchPaginated.call(this, endpoint, qs, i)
|
|
394
388
|
: await GenericFunctions_1.fetchSingle.call(this, endpoint, qs, i);
|
|
395
389
|
const SIMPLIFIABLE_OPERATIONS = [
|
|
396
|
-
"search",
|
|
397
390
|
"getData",
|
|
398
391
|
"getFileData",
|
|
399
392
|
"getMany",
|
|
@@ -178,6 +178,7 @@ async function fetchPaginated(endpoint, qs, i) {
|
|
|
178
178
|
return returnAll ? collected : collected.slice(0, limit);
|
|
179
179
|
}
|
|
180
180
|
async function fetchSingle(endpoint, qs, i) {
|
|
181
|
+
await respectRateLimit();
|
|
181
182
|
const responseData = await requestWithRateLimitHandling.call(this, {
|
|
182
183
|
method: "GET",
|
|
183
184
|
url: `${exports.BASE_URL}${endpoint}`,
|