Compare commits

..

2 commits

Author SHA1 Message Date
8147122386 fix: setuptools version 2023-06-11 16:33:25 +02:00
7ab8e6777d
fix: authorization header name (#5) 2023-06-11 16:30:30 +02:00
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -2,7 +2,7 @@ from setuptools import setup, find_packages
setup(
name = "reflect-client",
version = "1.1.1",
version = "1.1.2",
description = "Python library for communicating with an API built with Reflect over HTTP or UNIX sockets",
author = "Victor Westerlund",
author_email = "victor.vesterlund@gmail.com",