From 7e0d9a63a30a65e2672758da0fdf2bc8e890b1da Mon Sep 17 00:00:00 2001 From: Anees Khan <30714223+aneeskhan47@users.noreply.github.com> Date: Tue, 22 Feb 2022 17:57:54 +0300 Subject: [PATCH] Pass AWS temporary URL options to createPresignedRequest (#41156) --- src/Illuminate/Filesystem/AwsS3V3Adapter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Filesystem/AwsS3V3Adapter.php b/src/Illuminate/Filesystem/AwsS3V3Adapter.php index e6347bb93fb6..45d4f545360d 100644 --- a/src/Illuminate/Filesystem/AwsS3V3Adapter.php +++ b/src/Illuminate/Filesystem/AwsS3V3Adapter.php @@ -69,7 +69,7 @@ public function temporaryUrl($path, $expiration, array $options = []) ], $options)); $uri = $this->client->createPresignedRequest( - $command, $expiration + $command, $expiration, $options )->getUri(); // If an explicit base URL has been set on the disk configuration then we will use