@@ -85,9 +85,7 @@ async def get_config(request):
async def set_config(request):
- body = await request.json()
- d_body = json.loads(body)
- #return PlainTextResponse(body)
+ d_body = await request.json()
for sect in d_body.keys():
if type(d_body[sect]) is not dict: