Skip to content

Commit cab32bd

Browse files
committed
Revert "fix: KeyError: 'request' in line 125"
This reverts commit 45e2daa.
1 parent 489efe6 commit cab32bd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fastapi_elasticsearch_middleware/elasticsearch_middleware.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ async def intercept_send(response):
105105
start_time = time.time()
106106

107107
async def intercept_receive():
108-
nonlocal log_data
109108
message = await receive()
110109

111110
more_body = message.get("more_body", False)

0 commit comments

Comments
 (0)