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` frenck#795
  • Loading branch information
hastarin authored and frenck committed Oct 20, 2023
1 parent 539734e commit 25897a1
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 25897a1

Please sign in to comment.