Skip to content

Commit ecfa586

Browse files
authored
Update ApiPostcodeExtension.php
1 parent 9c35c41 commit ecfa586

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/ApiPostcodeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function load(array $configs, ContainerBuilder $container)
2828
$configuration = new Configuration();
2929
$config = $this->processConfiguration($configuration, $configs);
3030

31-
$container->setParameter('postcode_api_key', $config['api_postcode']['token']);
31+
$container->setParameter('api_postcode_key', $config['token']);
3232

3333
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
3434
$loader->load('services.yml');

0 commit comments

Comments
 (0)