Skip to content

Commit

Permalink
Fix extension configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jrawska committed Jun 2, 2022
1 parent 53ebd60 commit 42c49ed
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/DependencyInjection/AnswearAcsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ public function load(array $configs, ContainerBuilder $container): void
$config = $this->processConfiguration($configuration, $configs);

$definition = $container->getDefinition(ConfigProvider::class);
$definition->setArguments([]);
$definition->setArguments([
$config['apiKey'],
$config['companyId'],
$config['companyPassword'],
$config['userId'],
$config['userPassword'],
$config['language'],
]);
}
}

0 comments on commit 42c49ed

Please sign in to comment.