db change

This commit is contained in:
2026-08-29 13:04:41 +03:00
parent 443d40d7b6
commit 198506f062
21 changed files with 455 additions and 555 deletions
+5 -1
View File
@@ -39,7 +39,11 @@ class LoggingMiddleware(BaseHTTPMiddleware):
try:
body = json.loads(body_bytes)
body=body.get("detail", None)
if not isinstance(body, bool):
body=body.get("detail", None)
else:
body=None
except (json.JSONDecodeError, TypeError):
body = None