From 960a08a3ec9f0542743c1881fcdf88f62741b803 Mon Sep 17 00:00:00 2001 From: Josua Marcel C Date: Tue, 31 May 2022 20:05:20 +0800 Subject: [PATCH] Update APIKey.php --- src/Auth/APIKey.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Auth/APIKey.php b/src/Auth/APIKey.php index c7eda4bc..6246afb8 100644 --- a/src/Auth/APIKey.php +++ b/src/Auth/APIKey.php @@ -22,7 +22,8 @@ public function getHeaders(): array { return [ 'X-Auth-Email' => $this->email, - 'X-Auth-Key' => $this->apiKey + 'X-Auth-Key' => $this->apiKey, + 'Authorization' => $this->apiKey ]; } }