api: drop body from context reporting

Some API methods have sensitive information in the body of the call.
Stop logging the body unconditionally.
This commit is contained in:
Dan Bungert 2022-02-08 12:17:58 -07:00
parent f316ea5e06
commit 07b8b50399
1 changed files with 1 additions and 2 deletions

View File

@ -98,8 +98,7 @@ def _make_handler(controller, definition, implementation, serializer):
definition.__qualname__, check_def_sig, check_impl_sig)
async def handler(request):
context = controller.context.child(
implementation.__name__, trim(await request.text()))
context = controller.context.child(implementation.__name__)
with context:
context.set('request', request)
args = {}