From 8bec661288b276c98bdb0e773e5f4d5275dc4c87 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 20 Oct 2023 16:44:35 +0300 Subject: update AWK SDK --- vendor/aws/aws-sdk-php/src/Api/ErrorParser/JsonParserTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/aws/aws-sdk-php/src/Api/ErrorParser/JsonParserTrait.php') diff --git a/vendor/aws/aws-sdk-php/src/Api/ErrorParser/JsonParserTrait.php b/vendor/aws/aws-sdk-php/src/Api/ErrorParser/JsonParserTrait.php index 92b447c..da82597 100644 --- a/vendor/aws/aws-sdk-php/src/Api/ErrorParser/JsonParserTrait.php +++ b/vendor/aws/aws-sdk-php/src/Api/ErrorParser/JsonParserTrait.php @@ -16,7 +16,7 @@ trait JsonParserTrait { $code = (string) $response->getStatusCode(); if ($this->api - && $this->api->getMetadata('awsQueryCompatible') + && !is_null($this->api->getMetadata('awsQueryCompatible')) && $response->getHeaderLine('x-amzn-query-error') ) { $queryError = $response->getHeaderLine('x-amzn-query-error'); -- cgit v1.2.3