Adds Hide Comment Functionality + Updates #7

Merged
osilkin98 merged 21 commits from hide-comments into master 2019-08-09 09:13:38 +02:00
Showing only changes of commit 7f9e475324 - Show all commits

View file

@ -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: