Skip to content

Commit 25897a1

Browse files
hastarinfrenck
authored andcommitted
fix: Fixes Callling /control/parental/enable failing with only content-type application/json is allowed #795
1 parent 539734e commit 25897a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/adguardhome/parental.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async def enable(self) -> None:
3333
"""
3434
try:
3535
await self.adguard.request(
36-
"parental/enable", method="POST", data="sensitivity=TEEN"
36+
"parental/enable", method="POST"
3737
)
3838
except AdGuardHomeError as exception:
3939
raise AdGuardHomeError(

0 commit comments

Comments
 (0)