From 60f0291db85b75d485011e6a39147f84b5615d81 Mon Sep 17 00:00:00 2001 From: Itai Nathaniel Date: Thu, 20 Oct 2016 10:34:47 +0300 Subject: [PATCH] lowercased the D in MetaData to follow AWS guide The parameter name should be `Metadata` and not `MetaData` according to http://docs.aws.amazon.com/aws-sdk-php/v2/guide/service-s3.html --- src/Vinelab/Cdn/Providers/AwsS3Provider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Vinelab/Cdn/Providers/AwsS3Provider.php b/src/Vinelab/Cdn/Providers/AwsS3Provider.php index 8f965c3..8c45720 100755 --- a/src/Vinelab/Cdn/Providers/AwsS3Provider.php +++ b/src/Vinelab/Cdn/Providers/AwsS3Provider.php @@ -211,7 +211,7 @@ public function upload($assets) 'ACL' => $this->acl, 'CacheControl' => $this->default['providers']['aws']['s3']['cache-control'], - 'MetaData' => $this->default['providers']['aws']['s3']['metadata'], + 'Metadata' => $this->default['providers']['aws']['s3']['metadata'], 'Expires' => $this->default['providers']['aws']['s3']['expires'], ]); // var_dump(get_class($command));exit();