Fix Generic Object Injection Sink

This commit is contained in:
Cyrille 2019-05-09 08:30:54 +01:00
parent c11aca651d
commit 8391d11d49
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ s3.listObjects({ Bucket: bucketName }).promise().then((data) => {
for (let i = 0; i < data.Contents.length; i++) { for (let i = 0; i < data.Contents.length; i++) {
objectKeys.push({ objectKeys.push({
Key: data.Contents[i].Key Key: data.Contents[parseInt(i)].Key
}); });
} }