mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
Remove unused _api_key instance variable now auth is fully header-based 🟪
This commit is contained in:
parent
eb381a778c
commit
3df726937e
1 changed files with 0 additions and 1 deletions
|
|
@ -7,7 +7,6 @@ _BASE_URL = "https://cloud.magicplan.app/api/v2"
|
||||||
|
|
||||||
class MagicPlanClient:
|
class MagicPlanClient:
|
||||||
def __init__(self, customer_id: str, api_key: str) -> None:
|
def __init__(self, customer_id: str, api_key: str) -> None:
|
||||||
self._api_key = api_key
|
|
||||||
self._session = requests.Session()
|
self._session = requests.Session()
|
||||||
self._session.headers.update({"customer": customer_id, "key": api_key})
|
self._session.headers.update({"customer": customer_id, "key": api_key})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue