From ff40bfb12516781fe4e91d7dcbaa86dc24f2400e Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Sun, 11 Jun 2023 16:29:00 +0200 Subject: [PATCH] fix: authorization header name --- reflect_client/Client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reflect_client/Client.py b/reflect_client/Client.py index 1dc9b84..58c0b03 100644 --- a/reflect_client/Client.py +++ b/reflect_client/Client.py @@ -66,9 +66,9 @@ class Client: "Content-Type": "application/json" } - # Append Authentication header if API key is provided + # Append Authorization header if API key is provided if (self._key): - headers["Authentication"] = f"Bearer {self._key}" + headers["Authorization"] = f"Bearer {self._key}" return headers