From 45cb4028b8187b8d602cf28e4b217ec7622ed9d7 Mon Sep 17 00:00:00 2001 From: Kevin Fronczak Date: Sat, 11 Jul 2020 14:39:45 +0000 Subject: [PATCH] Remove host from auth header --- blinkpy/auth.py | 2 +- blinkpy/helpers/constants.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blinkpy/auth.py b/blinkpy/auth.py index 7d72645..34c85bb 100644 --- a/blinkpy/auth.py +++ b/blinkpy/auth.py @@ -53,7 +53,7 @@ class Auth: """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 a933607..775aa15 100644 --- a/blinkpy/helpers/constants.py +++ b/blinkpy/helpers/constants.py @@ -4,7 +4,7 @@ import os MAJOR_VERSION = 0 MINOR_VERSION = 16 -PATCH_VERSION = "0-rc11" +PATCH_VERSION = "0-rc12" __version__ = f"{MAJOR_VERSION}.{MINOR_VERSION}.{PATCH_VERSION}"