mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Minor improvements to AWS Comprehend
This commit is contained in:
@@ -145,14 +145,14 @@ export class AwsLambda implements INodeType {
|
||||
let marker: string = data.NextMarker;
|
||||
while (true) {
|
||||
const dataLoop = await awsApiRequestREST.call(this, 'lambda', 'GET', `/2015-03-31/functions/?MaxItems=50&Marker=${encodeURIComponent(marker)}`);
|
||||
|
||||
|
||||
for (const func of dataLoop.Functions!) {
|
||||
returnData.push({
|
||||
name: func.FunctionName as string,
|
||||
value: func.FunctionArn as string,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
if (dataLoop.NextMarker) {
|
||||
marker = dataLoop.NextMarker;
|
||||
} else {
|
||||
@@ -160,7 +160,7 @@ export class AwsLambda implements INodeType {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return returnData;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user