Compare commits

..

No commits in common. "master" and "1.1.1" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View file

@ -66,9 +66,9 @@ class Client:
"Content-Type": "application/json" "Content-Type": "application/json"
} }
# Append Authorization header if API key is provided # Append Authentication header if API key is provided
if (self._key): if (self._key):
headers["Authorization"] = f"Bearer {self._key}" headers["Authentication"] = f"Bearer {self._key}"
return headers return headers

View file

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