Skip to content

Commit 8b67d41

Browse files
Update backend/middleware.py
Co-authored-by: Hassan Abouelela <abouelelahassan@gmail.com>
1 parent 97f05b0 commit 8b67d41

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None:
1919
)
2020
db = client[MONGO_DATABASE]
2121
scope["state"].db = db
22-
await self._app(scope, send, receive)
22+
await self._app(scope, receive, send)
2323

2424

2525
class ProtectedDocsMiddleware:

0 commit comments

Comments
 (0)