Skip to content

Commit

Permalink
fix: config name
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Feb 7, 2021
1 parent 798f06b commit 2981178
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/CloudFrontManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function engine($name = null)
}

/**
* Create an Amazon CloudFront Converter instance.
* Create an Amazon CloudFront instance.
*
* @return \Meema\CloudFront\CloudFront
* @throws \Exception
Expand All @@ -30,7 +30,7 @@ public function createCloudFrontDriver(): CloudFront
{
$this->ensureAwsSdkIsInstalled();

$config = $this->config['media-convert'];
$config = $this->config['cloudfront'];

$credentials = $this->getCredentials($config['credentials']);

Expand Down
2 changes: 1 addition & 1 deletion src/Providers/CloudFrontServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function boot()
*/
public function register()
{
$this->mergeConfigFrom(__DIR__.'/../../config/config.php', 'media-convert');
$this->mergeConfigFrom(__DIR__.'/../../config/config.php', 'cloudfront');

$this->registerCloudFrontManager();

Expand Down

0 comments on commit 2981178

Please sign in to comment.