Skip to content

Commit 6f41000

Browse files
committed
fix(uploads): keep deleteS3ObjectVersion reading its bucket from customConfig
1 parent 36c8ea0 commit 6f41000

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/sim/lib/uploads/providers/s3/client.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ export async function deleteS3ObjectVersion(params: {
326326
if (!params.etag) throw new Error('S3 upload object is missing its ETag')
327327
await getS3Client().send(
328328
new DeleteObjectCommand({
329-
Bucket: params.bucket,
329+
Bucket: params.customConfig.bucket,
330330
Key: params.key,
331331
IfMatch: params.etag,
332332
})

0 commit comments

Comments
 (0)