Skip to content

Commit f7608ef

Browse files
committed
Add context back into fastapi call
1 parent cd65de3 commit f7608ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/function/wrapper/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async def main(req: func.HttpRequest, context: func.Context) -> func.HttpRespons
2020
# Function logic
2121
with tracer.start_as_current_span("wrapper", context=parent_context) as span:
2222
response = await func.AsgiMiddleware(app).handle_async(
23-
req=req, # context=parent_context
23+
req=req, context=parent_context
2424
)
2525

2626
return response

0 commit comments

Comments
 (0)