Skip to content

Commit ddd1558

Browse files
authored
fix: use destinationBucket on copy (#550)
1 parent e47e612 commit ddd1558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/storage/object.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ export class ObjectStorage {
333333
})
334334

335335
const existingDestObject = await db.findObject(
336-
this.bucketId,
336+
destinationBucket,
337337
destinationKey,
338338
'id,name,metadata,version,bucket_id',
339339
{

0 commit comments

Comments
 (0)