Skip to content

Commit

Permalink
fix: typo in setting the headers (#37)
Browse files Browse the repository at this point in the history
Co-authored-by: w1ll1am23 <[email protected]>
  • Loading branch information
w1ll1am23 and w1ll1am23 authored Oct 25, 2023
1 parent c424312 commit 0a10566
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 0a10566

Please sign in to comment.