updated-packages
This commit is contained in:
@@ -58,11 +58,11 @@ class PollyClient extends AwsClient
|
||||
);
|
||||
|
||||
// Mocking a 'GET' request in pre-signing the Url
|
||||
$query = Psr7\build_query($queryArray);
|
||||
$query = Psr7\Query::build($queryArray);
|
||||
$uri = $uri->withQuery($query);
|
||||
|
||||
$request = new Request('GET', $uri);
|
||||
$request = $request->withBody(Psr7\stream_for(''));
|
||||
$request = $request->withBody(Psr7\Utils::streamFor(''));
|
||||
$signer = new SignatureV4('polly', $this->getRegion());
|
||||
return (string) $signer->presign(
|
||||
$request,
|
||||
|
||||
Reference in New Issue
Block a user