Skip to content

Commit 2c6a738

Browse files
authored
Fix auth handler for Numbers (#383)
1 parent 7735ca5 commit 2c6a738

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Insights/ClientFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
use Psr\Container\ContainerInterface;
1515
use Vonage\Client\APIResource;
16-
use Vonage\Client\Credentials\Handler\BasicHandler;
16+
use Vonage\Client\Credentials\Handler\BasicQueryHandler;
1717

1818
class ClientFactory
1919
{
@@ -22,7 +22,7 @@ public function __invoke(ContainerInterface $container): Client
2222
/** @var APIResource $api */
2323
$api = $container->make(APIResource::class);
2424
$api->setIsHAL(false);
25-
$api->setAuthHandler(new BasicHandler());
25+
$api->setAuthHandler(new BasicQueryHandler());
2626

2727
return new Client($api);
2828
}

0 commit comments

Comments
 (0)