diff --git a/blinkpy/auth.py b/blinkpy/auth.py index 7d72645b..34c85bbd 100644 --- a/blinkpy/auth.py +++ b/blinkpy/auth.py @@ -53,7 +53,7 @@ def header(self): """Return authorization header.""" if self.token is None: return None - return {"Host": self.host, "TOKEN_AUTH": self.token} + return {"TOKEN_AUTH": self.token} def create_session(self): """Create a session for blink communication.""" diff --git a/blinkpy/helpers/constants.py b/blinkpy/helpers/constants.py index a9336072..775aa152 100644 --- a/blinkpy/helpers/constants.py +++ b/blinkpy/helpers/constants.py @@ -4,7 +4,7 @@ MAJOR_VERSION = 0 MINOR_VERSION = 16 -PATCH_VERSION = "0-rc11" +PATCH_VERSION = "0-rc12" __version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}.{PATCH_VERSION}" diff --git a/tests/test_auth.py b/tests/test_auth.py index e1fae962..dc1b35c9 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -128,8 +128,7 @@ def test_response_bad_json(self): def test_header(self): """Test header data.""" self.auth.token = "bar" - self.auth.host = "foo" - expected_header = {"Host": "foo", "TOKEN_AUTH": "bar"} + expected_header = {"TOKEN_AUTH": "bar"} self.assertDictEqual(self.auth.header, expected_header) def test_header_no_token(self):