2
0
mirror of https://github.com/cderche/greenlock-storage-s3 synced 2025-02-20 13:18:04 +00:00

Fix Generic Object Injection Sink

This commit is contained in:
Cyrille 2019-05-09 08:30:54 +01:00
parent c11aca651d
commit 8391d11d49

View File

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