From 7f9e475324e817e1f8e6738b00c79b9be05872e1 Mon Sep 17 00:00:00 2001 From: Oleg Silkin Date: Fri, 9 Aug 2019 00:53:10 -0400 Subject: [PATCH] `request.forwarded` -> `request.remote` --- src/server/handles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/handles.py b/src/server/handles.py index 1f6cc44..77ea225 100644 --- a/src/server/handles.py +++ b/src/server/handles.py @@ -108,7 +108,7 @@ async def process_json(app, body: dict) -> dict: @atomic async def api_endpoint(request: web.Request): try: - web.access_logger.info(f'Forwarded headers: {request.forwarded}') + web.access_logger.info(f'Forwarded headers: {request.remote}') body = await request.json() if type(body) is list or type(body) is dict: if type(body) is list: