From 7ab8e6777dedcb94121fbcdcfe7d969ab8bcfdc0 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Sun, 11 Jun 2023 16:30:30 +0200 Subject: [PATCH] fix: authorization header name (#5) --- 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