diff --git a/docs/middleware.md b/docs/middleware.md index 79f51d1cf..b148c8529 100644 --- a/docs/middleware.md +++ b/docs/middleware.md @@ -571,7 +571,7 @@ import time class MonitoringMiddleware: def __init__(self, app): self.app = app - + async def __call__(self, scope, receive, send): start = time.time() try: