fix(AwsS3 Node): Fix search only using first input parameters (#10998)

This commit is contained in:
Jon 2024-09-27 15:53:40 +01:00 committed by GitHub
parent 574cff16ed
commit 846cfde8dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -216,7 +216,7 @@ export class AwsS3V2 implements INodeType {
const servicePath = bucketName.includes('.') ? 's3' : `${bucketName}.s3`;
const basePath = bucketName.includes('.') ? `/${bucketName}` : '';
const returnAll = this.getNodeParameter('returnAll', 0);
const additionalFields = this.getNodeParameter('additionalFields', 0);
const additionalFields = this.getNodeParameter('additionalFields', i);
if (additionalFields.prefix) {
qs.prefix = additionalFields.prefix as string;