Skip to content

Commit

Permalink
fix: use camelCase instead of snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMarble committed Sep 20, 2021
1 parent 30cf82c commit 788cf1b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions datadis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ async def get_consumption_data(
r = await client.get(
_ENDPOINTS["get_consumption_data"]
+ f"?cups={cups}&distributorCode={distrubutor_code}"
+ f"&start_date={start_date}&end_date={end_date}"
+ f"&measurement_type={measurement_type}"
+ f"&point_type={point_type}",
+ f"&startDate={start_date}&endDate={end_date}"
+ f"&measurementType={measurement_type}"
+ f"&pointType={point_type}",
headers=headers,
)

Expand Down Expand Up @@ -166,7 +166,7 @@ async def get_max_power(
r = await client.get(
_ENDPOINTS["get_max_power"]
+ f"?cups={cups}&distributorCode={distrubutor_code}"
+ f"&start_date={start_date}&end_date={end_date}",
+ f"&startDate={start_date}&endDate={end_date}",
headers=headers,
)

Expand Down

0 comments on commit 788cf1b

Please sign in to comment.