diff --git a/src/Bard.php b/src/Bard.php index 6bab72c..a0fbafd 100644 --- a/src/Bard.php +++ b/src/Bard.php @@ -32,7 +32,7 @@ public function __construct($timeout = 6, $proxies = null, $session = null) { if ($session === null) { $this->session = curl_init(); curl_setopt($this->session, CURLOPT_HTTPHEADER, $headers); - curl_setopt($this->session, CURLOPT_COOKIE, "__Secure-1PSID=" . $_ENV["_BARD_API_KEY_1PSID"]."; __Secure-1PSIDTS=" . $_ENV["_BARD_API_KEY_1PSIDTS"]); + curl_setopt($this->session, CURLOPT_COOKIE, "__Secure-1PSID=" . $_ENV["BARD_API_KEY_X"]."; __Secure-1PSIDTS=" . $_ENV["BARD_API_KEY_Y"]); curl_setopt($this->session, CURLOPT_RETURNTRANSFER, true); } else { $this->session = $session;