diff --git a/src/Api.php b/src/Api.php index 0286b98..c5ec8e6 100644 --- a/src/Api.php +++ b/src/Api.php @@ -263,7 +263,7 @@ class Api } } - $query = \GuzzleHttp\Psr7\build_query($query); + $query = \GuzzleHttp\Psr7\Query::build($query); $url = $request->getUri()->withQuery($query); $request = $request->withUri($url);