Skip to content

Commit

Permalink
fix: typo in setting the headers
Browse files Browse the repository at this point in the history
  • Loading branch information
w1ll1am23 committed Oct 25, 2023
1 parent c424312 commit 0693510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pyeconet/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ async def _get_location(self) -> List[Dict]:
_session = ClientSession()
try:
async with _session.post(
f"{REST_URL}/code/{CLEAR_BLADE_SYSTEM_KEY}/getUserDataForApp", json=payload, headers=HEADERS
f"{REST_URL}/code/{CLEAR_BLADE_SYSTEM_KEY}/getUserDataForApp", json=payload, headers=_headers
) as resp:
if resp.status == 200:
_json = await resp.json()
Expand Down

0 comments on commit 0693510

Please sign in to comment.