Skip to content

Commit b4ddb70

Browse files
authored
fix: Send all options to copy instead of just params
1 parent 80ce2d2 commit b4ddb70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AwsS3V3Adapter.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ public function copy(string $source, string $destination, Config $config): void
438438
$this->bucket,
439439
$this->prefixer->prefixPath($destination),
440440
$this->visibility->visibilityToAcl($visibility ?: 'private'),
441-
$this->createOptionsFromConfig($config)['params']
441+
$this->createOptionsFromConfig($config)
442442
);
443443
} catch (Throwable $exception) {
444444
throw UnableToCopyFile::fromLocationTo($source, $destination, $exception);

0 commit comments

Comments
 (0)