From 63d68d8921d2673b420aab1d50c96b6b6ec5d83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maurice=20Preu=C3=9F?= Date: Tue, 14 Feb 2023 20:28:58 +0100 Subject: [PATCH] Update Server.php --- src/Server.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' => [