Cleanup of cli
This commit is contained in:
@ -2,12 +2,12 @@
|
||||
use Psr\Container\ContainerInterface;
|
||||
|
||||
return [
|
||||
\Psr\Http\Client\ClientInterface::class => function(ContainerInterface $container) {
|
||||
return new \GuzzleHttp\Client([
|
||||
Psr\Http\Client\ClientInterface::class => function(ContainerInterface $container) {
|
||||
return new GuzzleHttp\Client([
|
||||
'base_uri' => $container->get('api_uri'),
|
||||
'headers' => [
|
||||
'Authorization' => "Bearer {$container->get('api_key')}"
|
||||
]
|
||||
]);
|
||||
}
|
||||
];
|
||||
];
|
||||
|
Reference in New Issue
Block a user