Skip to content

Commit 2981178

Browse files
committed
fix: config name
1 parent 798f06b commit 2981178

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/CloudFrontManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function engine($name = null)
2121
}
2222

2323
/**
24-
* Create an Amazon CloudFront Converter instance.
24+
* Create an Amazon CloudFront instance.
2525
*
2626
* @return \Meema\CloudFront\CloudFront
2727
* @throws \Exception
@@ -30,7 +30,7 @@ public function createCloudFrontDriver(): CloudFront
3030
{
3131
$this->ensureAwsSdkIsInstalled();
3232

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

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

src/Providers/CloudFrontServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public function boot()
2727
*/
2828
public function register()
2929
{
30-
$this->mergeConfigFrom(__DIR__.'/../../config/config.php', 'media-convert');
30+
$this->mergeConfigFrom(__DIR__.'/../../config/config.php', 'cloudfront');
3131

3232
$this->registerCloudFrontManager();
3333

0 commit comments

Comments
 (0)