Skip to content

Commit

Permalink
Merge pull request #3 from answear/fix-extension-configuration
Browse files Browse the repository at this point in the history
Fix extension configuration
  • Loading branch information
jrawska authored Jun 2, 2022
2 parents 53ebd60 + 42c49ed commit dc66418
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 dc66418

Please sign in to comment.