{
"Version": "2008-10-17",
"Statement": [
{
"Sid": "AllowPublicRead",
"Effect": "Allow",
"Principal": {
"AWS": "*"
},
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::BUCKET_NAME/*"
}
]
}
product.thumbs.forEach(function(thumb){
if (thumb.image === '') {
do something...
}
})
that.product.thumbs.push({
image: response.image,
path: response.path,
})