Skip to content

Commit

Permalink
fix: Fixes Callling /control/parental/enable failing with `only conte…
Browse files Browse the repository at this point in the history
…nt-type application/json is allowed` #795
  • Loading branch information
hastarin committed Aug 6, 2023
1 parent 2e2a70e commit 7d7b0ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adguardhome/parental.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async def enable(self) -> None:
"""
try:
await self.adguard.request(
"parental/enable", method="POST", data="sensitivity=TEEN"
"parental/enable", method="POST"
)
except AdGuardHomeError as exception:
raise AdGuardHomeError(
Expand Down

0 comments on commit 7d7b0ca

Please sign in to comment.