diff --git a/src/Server.php b/src/Server.php index 7b83e2e..59d952e 100644 --- a/src/Server.php +++ b/src/Server.php @@ -40,7 +40,7 @@ class Server 'params' => $attributes ]; - $token = base64encode(sprintf('%s:%s', $this->apiKey, $this->apiSecret)); + $token = base64_encode(sprintf('%s:%s', $this->apiKey, $this->apiSecret)); $response = $this->client->post("api.php", [ 'headers' => [