chore(chart): change to new key config

This commit is contained in:
Данил 2025-03-03 10:52:28 +03:00
parent f307644a8c
commit 64185e7565
2 changed files with 3 additions and 3 deletions

View file

@ -23,7 +23,7 @@ class PlausibleAnalytics:
async def __call__(self, request, call_next):
response = await call_next(request)
if HTTPStatus(response.status_code).is_client_error or not config['analytics']['work']:
if HTTPStatus(response.status_code).is_client_error or not config['analytics']['enabled']:
return response
user_agent = request.headers.get('user-agent', 'unknown')