From 3c779ef116dab68e0666c885c1141a19922e87ef Mon Sep 17 00:00:00 2001 From: Mike Maxim Date: Mon, 8 Dec 2025 13:55:58 -0500 Subject: [PATCH] fix s3 delete asset with role creds --- go/chat/s3/s3.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/go/chat/s3/s3.go b/go/chat/s3/s3.go index 3a5ca9ccb10f..01af001a9a5c 100644 --- a/go/chat/s3/s3.go +++ b/go/chat/s3/s3.go @@ -572,9 +572,10 @@ func (b *Bucket) Del(ctx context.Context, path string) error { b.addTokenHeader(headers) req := &request{ - method: "DELETE", - bucket: b.Name, - path: path, + method: "DELETE", + bucket: b.Name, + path: path, + headers: headers, } return b.S3.query(ctx, req, nil) }