diff --git a/backend/api_logger.py b/backend/api_logger.py index 98b01cfb1..4dbf565fc 100644 --- a/backend/api_logger.py +++ b/backend/api_logger.py @@ -33,7 +33,7 @@ async def start_rpt(self, request: Request, params: Dict): rpt['host'] = os.getenv('HOSTENV', gethostname()) ip = await get_ip_from_request(request) - rpt['client'] = client_location(ip) + rpt['client'] = await client_location(ip) rpt['schema'] = get_schema_name()