File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -282,12 +282,8 @@ export function backend(
282282 effect : Effect . ALLOW ,
283283 actions : [ 's3:DeleteObject' ] ,
284284 resources : [
285- backendAnalyticsProps . analyticsBucket . arnForObjects (
286- 'page_views/site=*/page_opened_at_date=*/' + backendAnalyticsProps . firehosePageViews . deliveryStreamName ! + '*'
287- ) ,
288- backendAnalyticsProps . analyticsBucket . arnForObjects (
289- 'page_views/site=*/page_opened_at_date=*/' + backendAnalyticsProps . firehoseEvents . deliveryStreamName ! + '*'
290- ) ,
285+ backendAnalyticsProps . analyticsBucket . arnForObjects ( 'page_views/site=*/page_opened_at_date=*/*' ) ,
286+ backendAnalyticsProps . analyticsBucket . arnForObjects ( 'page_views/site=*/page_opened_at_date=*/*' ) ,
291287 ] ,
292288 } )
293289 ) ;
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export class S3Base {
4242 for ( const key of keys ) {
4343 promises . push (
4444 limit ( ( ) => {
45- this . s3Client . send (
45+ return this . s3Client . send (
4646 new DeleteObjectCommand ( {
4747 Bucket : this . bucketName ,
4848 Key : key ,
You can’t perform that action at this time.
0 commit comments