From 25897a1aa17138f6733e09a3a8f5e4de2327edb4 Mon Sep 17 00:00:00 2001 From: Jon Benson Date: Sun, 6 Aug 2023 03:52:04 +0000 Subject: [PATCH] fix: Fixes Callling /control/parental/enable failing with `only content-type application/json is allowed` #795 --- src/adguardhome/parental.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adguardhome/parental.py b/src/adguardhome/parental.py index 3e6759b5..e2a7f18f 100644 --- a/src/adguardhome/parental.py +++ b/src/adguardhome/parental.py @@ -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(